#4680 closed enhancement (fixed)
POSIX tasks cancelled through rtems_task_delete() should have an exit value of PTHREAD_CANCELED
Reported by: | Sebastian Huber | Owned by: | Sebastian Huber |
---|---|---|---|
Priority: | normal | Milestone: | 6.1 |
Component: | posix | Version: | 6 |
Severity: | normal | Keywords: | qualification |
Cc: | Blocked By: | ||
Blocking: |
Description
The rtems_task_delete()
directive is basically just a combined pthread_cancel()
and pthread_join()
. In addition, it removes the PTHREAD_DETACHED
state. The exit value returned by pthread_join()
of threads cancelled by rtems_task_delete()
should reflect this by getting a PTHREAD_CANCELED value and not NULL.
Change History (2)
comment:1 Changed on 07/28/22 at 05:45:21 by Sebastian Huber <sebastian.huber@…>
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
comment:2 Changed on 05/02/23 at 08:18:20 by Sebastian Huber
Keywords: | qualification added |
---|
Note: See
TracTickets for help on using
tickets.
In 8a864bc6/rtems: