Changeset 1b1be254 in rtems for cpukit/score

Timestamp:
03/25/14 09:54:49 (10 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
4.11, 5, master
Children:
fb7199d
Parents:
226c731
git-author:
Sebastian Huber <sebastian.huber@…> (03/25/14 09:54:49)
git-committer:
Sebastian Huber <sebastian.huber@…> (03/31/14 06:29:43)
Message:

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.

(No files)

Note: See TracChangeset for help on using the changeset viewer.