sptests/sp44: Fix end of test output
smptests/smpfatal03: Fix end of test output
psxtests/psxconfig01: Fix for POSIX keys config
tests/fatal: Fix test names
score: Add per-CPU state function

Add _Per_CPU_State_wait_for_ready_to_start_multitasking().  Add new
fatal SMP error SMP_FATAL_SHUTDOWN_EARLY.
score: PR2151: _Thread_queue_Extract_with_proxy()

Avoid NULL pointer access.
score: Add _Scheduler_Highest_priority_of_two()

Use inline functions instead of macros for
_Scheduler_Is_priority_lower_than() and
_Scheduler_Is_priority_higher_than().
score: Add _Scheduler_Change_priority_if_higher()

Add _Scheduler_Set_priority_if_higher().
score: Add and use thread get/set CPU functions
score: Add thread actions

Thread actions are the building block for efficient implementation of
  - Classic signals delivery,
  - POSIX signals delivery,
  - thread restart notification,
  - thread delete notification,
  - forced thread migration on SMP configurations, and
  - the Multiprocessor Resource Sharing Protocol (MrsP).
rtems: Use thread action for signals
posix: Use thread action for signals
score: Delete post-switch API extensions

Use thread post-switch actions instead.
score: Use thread action for thread restart

The thread restart is now supported on SMP.  New test
smptests/smpthreadlife01.
score: Move _Thread_Reset() and make static
score: Reduce _Thread_Reset() parameters

Move thread entry parameters out of _Thread_Reset() to enable
re-usablity of this function.
score: Fix thread restart extensions context

Run the thread restart extensions in the context of the restarted
thread.  Run them with thread dispatching enabled.
score: Add parameter to _Thread_Restart()

The executing thread will be later used for a common implementation with
_Thread_Close().
score: Replace _Thread_Reset()

Replace _Thread_Reset() with _Thread_Start_life_change().  This function
can be later used for the _Thread_Close() implementation.
score: Thread life cycle re-implementation

The thread deletion is now supported on SMP.

This change fixes the following PRs:

PR1814: SMP race condition between stack free and dispatch

PR2035: psxcancel reveals NULL pointer access in _Thread_queue_Extract()

The POSIX cleanup handler are now called in the right context (should be
called in the context of the terminating thread).

http://pubs.opengroup.org/onlinepubs/009695399/functions/xsh_chap02_09.html

Add a user extension the reflects a thread termination event.  This is
used to reclaim the Newlib reentrancy structure (may use file
operations), the POSIX cleanup handlers and the POSIX key destructors.