Thread Life Cycle Re-Implementation

Sebastian Huber sebastian.huber at
Tue Mar 25 12:49:04 UTC 2014

The primary objective of this change set is support for thread restart and
delete on SMP configurations.  It enables also forced thread migration.

For background information please have a look at:

This change set fixes the following problems:

SMP race condition between stack free and dispatch

psxcancel reveals NULL pointer access in _Thread_queue_Extract()

Race condition in _Thread_queue_Extract_with_proxy()

Race condition with unified work areas

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

This change set should go into RTEMS 4.11 due to the bug fixes.

More information about the devel mailing list