Notice: We have migrated to GitLab launching 2024-05-01 see here:

#841 closed defect (fixed)

sem_timedwait broken

Reported by: dufault Owned by: Joel Sherrill
Priority: normal Milestone: 4.9
Component: score Version: 4.6
Severity: major Keywords:
Cc: bugs@…, ralf.corsepius@… Blocked By:


sem_timedwait is totally broken. It returns an error code instead of setting errno and returning -1. Also, if you pass in a non-zero value for the number of nanoseconds it immediately returns EINVAL - it looks like it is broken range checking code.



Attachments (1)

timedwait.diffs (1.5 KB) - added by dufault on 12/03/06 at 13:31:13.

Download all attachments as: .zip

Change History (4)

comment:1 Changed on 11/02/05 at 21:33:22 by Joel Sherrill

Status: assignedwaiting

Changed on 12/03/06 at 13:31:13 by dufault

Attachment: timedwait.diffs added


comment:2 Changed on 05/07/08 at 22:51:06 by Joel Sherrill

Milestone: 4.9
rep_platform: All

comment:3 Changed on 08/05/08 at 15:02:22 by Joel Sherrill

Resolution: fixed
Status: assignedclosed

If this wasn't dealt with before, PR1291 killed it dead.

Note: See TracTickets for help on using tickets.