Changeset 1b1be254 in rtems for cpukit/score/Makefile.am


Ignore:
Timestamp:
Mar 25, 2014, 9:54:49 AM (5 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
4.11, 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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpukit/score/Makefile.am

    r226c731 r1b1be254  
    273273## THREAD_C_FILES
    274274libscore_a_SOURCES += src/thread.c src/threadchangepriority.c \
    275     src/threadclearstate.c src/threadclose.c src/threadcreateidle.c \
     275    src/threadclearstate.c src/threadcreateidle.c \
    276276    src/threaddelayended.c src/threaddispatch.c \
    277277    src/threadenabledispatch.c src/threaddisabledispatch.c \
Note: See TracChangeset for help on using the changeset viewer.