Matthias Clasen
876f907863
Support for one-time initialization functions. ( #69668 , Sebastian
...
2003-07-09 Matthias Clasen <maclas@gmx.de>
Support for one-time initialization functions. (#69668 , Sebastian Wilhelmi)
* configure.in: Check whether double checked locking is safe, define g_once() in
glibconfig.h accordingly.
* glib/gthread.h: Add GOnce, GOnceStatus, G_ONCE_INIT and g_once_impl.
* glib/gthread.c (g_once_impl): Fallback implementation using a mutex if double checked
locking is unsafe.
* tests/thread-test.c: Add tests for g_once().
2003-07-08 23:43:48 +00:00
..
2001-12-18 20:38:58 +00:00
2002-05-18 22:06:54 +00:00
2001-11-24 18:53:03 +00:00
2001-07-19 20:07:41 +00:00
2001-07-02 00:49:21 +00:00
2001-07-02 00:49:21 +00:00
2001-05-29 14:17:23 +00:00
2002-07-04 15:19:30 +00:00
2001-07-19 20:07:41 +00:00
2001-07-02 00:49:21 +00:00
2001-07-02 00:49:21 +00:00
2002-10-15 22:16:57 +00:00
2002-02-08 17:34:15 +00:00
2001-07-20 20:14:37 +00:00
2002-10-15 22:39:16 +00:00
2002-07-04 15:19:30 +00:00
2002-07-04 15:19:30 +00:00
2001-07-19 20:07:41 +00:00
2002-10-15 22:16:57 +00:00
2003-05-27 22:12:40 +00:00
2002-03-05 05:18:23 +00:00
2002-02-10 16:42:36 +00:00
2002-07-04 15:19:30 +00:00
2002-07-04 15:19:30 +00:00
2001-11-26 19:08:46 +00:00
2003-05-27 22:12:40 +00:00
2002-07-04 15:19:30 +00:00
2002-07-04 15:19:30 +00:00
2002-11-26 14:09:00 +00:00
2001-07-19 20:07:41 +00:00
2002-05-18 22:06:54 +00:00
2002-01-29 20:23:48 +00:00
2001-07-19 20:07:41 +00:00
2002-11-17 03:52:55 +00:00
2002-11-17 03:52:55 +00:00
2002-11-26 15:04:06 +00:00
2003-06-05 23:04:21 +00:00
2002-07-04 15:19:30 +00:00
2002-07-04 15:19:30 +00:00
2002-07-04 15:19:30 +00:00
2002-12-12 22:59:55 +00:00
2003-07-08 23:43:48 +00:00
2002-07-04 15:19:30 +00:00
2002-07-04 15:19:30 +00:00
2002-07-04 15:19:30 +00:00
2002-07-04 15:19:30 +00:00
2002-10-15 22:16:57 +00:00
2002-12-12 22:59:55 +00:00
2002-07-04 15:19:30 +00:00
2002-10-15 22:16:57 +00:00
2002-07-04 15:19:30 +00:00
2002-10-15 22:16:57 +00:00
2003-03-30 21:24:58 +00:00
2001-01-05 21:22:47 +00:00