Project

General

Profile

Actions

Bug #2285

closed

POSIX semaphore function stubs return 0

Added by vsrinivas over 12 years ago. Updated over 12 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
01/22/2012
Due date:
% Done:

0%

Estimated time:

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...

Actions

Also available in: Atom PDF