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
..
2002-05-18 22:06:54 +00:00
2002-10-15 22:16:57 +00:00
2002-10-15 22:16:57 +00:00
2003-05-27 22:12:40 +00:00
2001-11-26 19:08:46 +00:00
2003-05-27 22:12:40 +00:00
2002-05-18 22:06:54 +00:00
2002-01-29 20:23:48 +00:00
2002-10-15 22:16:57 +00:00
2002-10-15 22:16:57 +00:00