Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Nov 2011 11:54:10 -0500
From:      David Schultz <das@FreeBSD.ORG>
To:        Oliver Heesakkers <freebsd@heesakkers.info>
Cc:        deischen@FreeBSD.ORG, freebsd-standards@FreeBSD.ORG, davidxu@FreeBSD.ORG
Subject:   Re: _POSIX_CLOCK_SELECTION
Message-ID:  <20111114165410.GA57883@zim.MIT.EDU>
In-Reply-To: <3734779.ZtEaqKsg3d@pcoliver.heesakkers.info>
References:  <3734779.ZtEaqKsg3d@pcoliver.heesakkers.info>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Nov 12, 2011, Oliver Heesakkers wrote:
> After submitting a little patch for VLC I found out that the upcoming 1.2 
> release will use, or rather require, _POSIX_CLOCK_SELECTION to be defined > 1.
> 
> >From what little that I understand from C, the fact that 
> /usr/include/sys/unistd.h declares _POSIX_CLOCK_SELECTION to be -1 means that 
> it has not been implemented. Am I correct?
> 
> At least it means VLC 1.2 will (currently) fail to build:
> http://git.videolan.org/?p=vlc.git;a=blob;f=src/posix/thread.c;h=8e94ead26537eb398c3555288877eb0d2d70e28d;hb=HEAD#l460
> 
> Am I correct in concluding that FreeBSD is late in implementing 
> _POSIX_CLOCK_SELECTION (required since 2008), or is there another other way, 
> that I'm currently not seeing, to satisfy VLC 1.2 in it's requirement?

As far as I can tell, the clock selection option is fully
supported, and only the macro is wrong.  I'm CCing some of the
people who work on libthr for verification.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20111114165410.GA57883>