summaryrefslogtreecommitdiffstats
path: root/games/grdc
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2009-11-20 19:19:51 +0000
committerjhb <jhb@FreeBSD.org>2009-11-20 19:19:51 +0000
commitb850b4760dddafa38d7850f86e99ce47326a2676 (patch)
tree9dcf60a4d7bd680a0877e1a8aa449c9766bdcc8f /games/grdc
parentbe8a54e0c3db12d3fecac288bf6ddfd350731d11 (diff)
downloadFreeBSD-src-b850b4760dddafa38d7850f86e99ce47326a2676.zip
FreeBSD-src-b850b4760dddafa38d7850f86e99ce47326a2676.tar.gz
Add an internal _once() method. This works identical to pthread_once(3)
with the additional property that it is safe for routines in libc to use in both single-threaded and multi-threaded processes. Multi-threaded processes use the pthread_once() implementation from the threading library while single-threaded processes use a simplified "stub" version internal to libc. The libc stub-version of pthread_once() now also uses the simplified "stub" version as well instead of being a nop. Reviewed by: deischen, Matthew Fleming @ Isilon Suggested by: alc MFC after: 1 week
Diffstat (limited to 'games/grdc')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud