#2402 closed defect (fixed)

pthread_cancel() invalidates the thread identifier

Reported by: Sebastian Huber Owned by: Sebastian Huber <sebastian.huber@…>
Priority: normal Milestone: 4.11.1
Component: unspecified Version: 4.10
Severity: normal Keywords:
Cc: Blocked By:
Blocking:

Description

A thread that calls pthread_cancel() is no longer able to do a pthread_join() afterwards. This problem appears in a least one GCC test case (libstdc++-v3/testsuite/30_threads/thread/native_handle/cancel.cc).

Change History (2)

comment:1 Changed on Sep 1, 2015 at 12:09:12 PM by Sebastian Huber <sebastian.huber@…>

In d9d0a84f8584042f5c594a4c4306a6d1ad87835e/rtems:

psxtests/psxcancel: Check return status

Update #2402.

comment:2 Changed on May 20, 2016 at 5:59:18 AM by Sebastian Huber <sebastian.huber@…>

Owner: set to Sebastian Huber <sebastian.huber@…>
Resolution: fixed
Status: newclosed

In 54550e048d3a49435912797d2024f80671e93267/rtems:

posix: Rework pthread_join()

Rework pthread_join() to use _Thread_Join().

Close #2402.
Update #2555.
Update #2626.
Close #2714.

Note: See TracTickets for help on using tickets.