Notice: We have migrated to GitLab launching 2024-05-01 see here: https://gitlab.rtems.org/

#2714 closed defect (fixed)

A pthread_detach() does not lead to a resource reclamation

Reported by: Sebastian Huber Owned by: Sebastian Huber
Priority: normal Milestone: 5.1
Component: posix Version: 4.10
Severity: normal Keywords:
Cc: Blocked By:
Blocking:

Description

According to POSIX a pthread_detach() should lead to a resource reclamation if the thread is already cancelled.

Change History (6)

comment:1 Changed on 05/17/16 at 09:00:36 by Sebastian Huber <sebastian.huber@…>

In [changeset:"9d8ee11e55a0c9e515409f40900917a58d3bf6cc/rtems"]:

psxtests/psxcancel: Add pthread_detach() tests

Update #2714.

comment:2 Changed on 05/20/16 at 05:56:37 by Sebastian Huber <sebastian.huber@…>

In [changeset:"12a1228c593166069ac316f91865bdd9bb812ba1/rtems"]:

psxclassic01: Assume correct pthread_detach()

Update #2714.

comment:3 Changed on 05/20/16 at 05:59:18 by Sebastian Huber <sebastian.huber@…>

Resolution: fixed
Status: newclosed

In [changeset:"54550e048d3a49435912797d2024f80671e93267/rtems"]:

posix: Rework pthread_join()

Rework pthread_join() to use _Thread_Join().

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

comment:4 Changed on 05/11/17 at 07:31:02 by Sebastian Huber

Milestone: 4.124.12.0

comment:5 Changed on 10/16/17 at 06:23:11 by Sebastian Huber

Component: unspecifiedposix

comment:6 Changed on 11/09/17 at 06:27:14 by Sebastian Huber

Milestone: 4.12.05.1

Milestone renamed

Note: See TracTickets for help on using tickets.