Bug #2285

POSIX semaphore function stubs return 0

Added by vsrinivas about 2 years ago. Updated about 2 years ago.

Status:ClosedStart date:01/22/2012
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:-
Target version:-

Description

The POSIX semaphore (sem_open/...) routines don't exist on DragonFly. However, we implement stubs for them, which return 0 in libthread_xu, which is not terribly useful. The stubs in libc_r return SEM_FAILED and ENOSYS, which is better; however ENOSYS is not actually an allowed return value per-TheOpenGroup...

History

#1 Updated by vsrinivas about 2 years ago

  • Status changed from New to Closed

Closed by 869265823d91a2dd4c0d8244a906bb52102f76f0.

Also available in: Atom PDF