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

#1628 closed defect (fixed)

pthread_cond_wait is not interrupted by a POSIX signal

Reported by: Vinu Rajashekhar Owned by: Joel Sherrill
Priority: normal Milestone: 4.11
Component: score Version: 4.11
Severity: normal Keywords:
Cc: vinutheraj@… Blocked By:
Blocking:

Description

According to the POSIX standard (http://opengroup.org/onlinepubs/007908799/xsh/pthread_cond_wait.html), pthread_cond_wait can be interrupted by POSIX signals. This is not the case with the RTEMS implementation.

I have attached a patch which adds this functionality to RTEMS.

Attachments (2)

pthreadcondwait.patch (2.8 KB) - added by Vinu Rajashekhar on 07/26/10 at 06:12:08.
patch which allows pthread_cond_wait to be interrupted by a POSIX signal
pthreadcondwait_v1.patch (2.7 KB) - added by Vinu Rajashekhar on 07/28/10 at 17:40:18.
patch which allows pthread_cond_wait to be interrupted by a POSIX signal

Download all attachments as: .zip

Change History (6)

Changed on 07/26/10 at 06:12:08 by Vinu Rajashekhar

Attachment: pthreadcondwait.patch added

patch which allows pthread_cond_wait to be interrupted by a POSIX signal

comment:1 Changed on 07/26/10 at 06:12:24 by Vinu Rajashekhar

Cc: Vinu Rajashekhar added

Changed on 07/28/10 at 17:40:18 by Vinu Rajashekhar

Attachment: pthreadcondwait_v1.patch added

patch which allows pthread_cond_wait to be interrupted by a POSIX signal

comment:2 Changed on 07/28/10 at 17:40:18 by Vinu Rajashekhar

attachments.isobsolete: 01

comment:3 Changed on 07/30/10 at 01:59:50 by Vinu Rajashekhar

Resolution: fixed
Status: newclosed

Closed.

comment:4 Changed on 11/24/14 at 18:58:28 by Gedare Bloom

Version: HEAD4.11

Replace Version=HEAD with Version=4.11 for the tickets with Milestone >= 4.11

Note: See TracTickets for help on using tickets.