John Baldwin
5bcfe82e47
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
2009-11-20 19:19:51 +00:00
..
2009-06-01 21:58:59 +00:00
2009-02-21 15:04:31 +00:00
2009-07-19 17:25:24 +00:00
2009-09-08 05:02:41 +00:00
2008-12-31 11:12:24 +00:00
2009-07-19 17:25:24 +00:00
2009-07-19 17:25:24 +00:00
2009-10-26 17:27:30 +00:00
2009-07-19 17:25:24 +00:00
2009-07-19 17:25:24 +00:00
2009-07-19 17:25:24 +00:00
2009-11-20 19:19:51 +00:00
2009-05-25 14:37:10 +00:00
2009-07-10 08:18:08 +00:00
2009-06-23 23:20:09 +00:00
2009-07-19 17:25:24 +00:00
2009-11-15 16:44:43 +00:00
2009-07-19 17:25:24 +00:00
2009-09-21 04:04:02 +00:00
2009-07-19 17:25:24 +00:00
2009-07-19 17:25:24 +00:00
2009-03-12 04:44:09 +00:00
2009-07-19 17:25:24 +00:00
2009-10-21 18:29:26 +00:00
2009-07-19 17:25:24 +00:00
2009-05-19 12:10:48 +00:00
2009-07-19 17:25:24 +00:00
2008-08-06 14:02:05 +00:00
2009-07-19 17:25:24 +00:00
2009-09-21 08:30:52 +00:00
2009-07-19 17:25:24 +00:00
2009-07-19 17:25:24 +00:00
2009-11-06 13:10:12 +00:00
2009-07-19 17:25:24 +00:00
2009-01-09 11:45:13 +00:00
2009-07-19 17:25:24 +00:00
2009-02-26 21:43:15 +00:00
2009-07-19 17:25:24 +00:00
2009-07-19 17:25:24 +00:00
2009-07-19 17:25:24 +00:00
2009-07-19 17:25:24 +00:00
2009-11-13 11:19:26 +00:00
2009-07-19 17:25:24 +00:00
2009-11-02 12:35:38 +00:00
2009-07-19 17:25:24 +00:00
2009-09-29 19:09:17 +00:00
2008-11-03 10:38:00 +00:00
2009-02-26 20:32:11 +00:00
2009-11-18 06:10:50 +00:00
2009-07-19 17:25:24 +00:00
2009-07-19 17:25:24 +00:00
2009-11-05 06:08:04 +00:00
2009-07-19 17:25:24 +00:00
2009-02-26 21:43:15 +00:00
2009-10-27 10:55:34 +00:00
2009-06-09 12:32:10 +00:00
2009-06-11 18:04:57 +00:00
2009-07-19 17:25:24 +00:00
2009-11-20 08:57:25 +00:00
2009-07-19 17:25:24 +00:00
2009-07-19 17:25:24 +00:00
2009-07-19 17:25:24 +00:00
2009-07-19 17:25:24 +00:00
2009-07-19 17:25:24 +00:00
2009-06-11 13:59:51 +00:00
2009-07-19 17:25:24 +00:00
2009-09-09 09:50:31 +00:00
2009-07-19 17:25:24 +00:00