Date: Mon, 7 Aug 2000 10:48:06 -0700 From: Jason Evans <jasone@canonware.com> To: Jan Conrad <conrad@th.physik.uni-bonn.de> Cc: freebsd-stable@freebsd.org Subject: Re: 3.5-STABLE and posix4/semaphore.h? Message-ID: <20000807104806.N711@blitz.canonware.com> In-Reply-To: <Pine.BSF.4.21.0008061835090.17154-100000@merlin.th.physik.uni-bonn.de>; from conrad@th.physik.uni-bonn.de on Sun, Aug 06, 2000 at 06:39:00PM %2B0200 References: <Pine.BSF.4.21.0008061835090.17154-100000@merlin.th.physik.uni-bonn.de>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Aug 06, 2000 at 06:39:00PM +0200, Jan Conrad wrote: > sorry for asking, but is it correct that semaphore calls like sem_destroy, > even though defined in semaphore.h, are not implemented under 3.5-STABLE? You should be looking for the _POSIX_SEMAPHORES feature macro in unistd.h. It turns out that the feature macros are (incorrectly) located in pthread.h on RELENG_3, but nonetheless, _POSIX_SEMAPHORES does not show up anywhere, so you shouldn't use them on RELENG_3. Note that the feature macros are in the correct place in RELENG_4, and POSIX semaphores are implemented as well, so you may want to upgrade to RELENG_4. Jason To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000807104806.N711>