[RTEMS Project] #2035: psxcancel reveals NULL pointer access in _Thread_queue_Extract()
RTEMS trac
trac at rtems.org
Thu Apr 23 19:43:00 UTC 2015
#2035: psxcancel reveals NULL pointer access in _Thread_queue_Extract()
-----------------------------+----------------------------
Reporter: sebastian.huber | Owner: joel.sherrill
Type: defect | Status: closed
Priority: normal | Milestone: 4.11
Component: cpukit | Version: 4.11
Severity: blocker | Resolution: fixed
Keywords: |
-----------------------------+----------------------------
Comment (by Sebastian Huber <sebastian.huber@…>):
In [changeset:"f32935335a7f9b53c14133724753045ead988ca4/rtems"]:
{{{
#!CommitTicketReference repository="rtems"
revision="f32935335a7f9b53c14133724753045ead988ca4"
score: Fix POSIX thread join
A thread join is twofold. There is one thread that exists and an
arbitrary number of threads that wait for the thread exit (one-to-many
relation). The exiting thread may want to wait for a thread that wants
to join its exit (STATES_WAITING_FOR_JOIN_AT_EXIT in
_POSIX_Thread_Exit()). On the other side we need a thread queue for all
the threads that wait for the exit of one particular thread
(STATES_WAITING_FOR_JOIN in pthread_join()).
Update #2035.
}}}
--
Ticket URL: <http://devel.rtems.org/ticket/2035#comment:5>
RTEMS Project <http://www.rtems.org/>
RTEMS Project
More information about the bugs
mailing list