Opened 2 years ago

Closed 2 years ago

#13601 closed enhancement (fixed)

_POSIX_BARRIERS constant is missing.

Reported by: return_0e Owned by: nobody
Priority: normal Milestone: Unscheduled
Component: System/POSIX Version: R1/Development
Keywords: Cc:
Blocked By: Blocking:
Has a Patch: yes Platform: All

Description

It seems that this constant isn't defined in unistd.h. Some applications require this to be defined to check for pthread_barriers support.

It is also referenced here: http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/unistd.h.html

Attachments (1)

0001-unistd.h-define-_POSIX_BARRIERS.patch (854 bytes ) - added by return_0e 2 years ago.
_POSIX_BARRIERS definition

Download all attachments as: .zip

Change History (5)

comment:1 by return_0e, 2 years ago

Has a Patch: set

by return_0e, 2 years ago

_POSIX_BARRIERS definition

comment:2 by korli, 2 years ago

Patch LGTM

comment:3 by pulkomandy, 2 years ago

Applied in hrev51281. Thanks!

comment:4 by pulkomandy, 2 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.