glib/tests
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
..
gobject added some assertions to test g_signal_get_invocation_hint(). 2001-12-18 20:38:58 +00:00
markups New testcases. 2002-05-18 22:06:54 +00:00
.cvsignore */.cvsignore: Add various Win32 related file types. 2001-11-24 18:53:03 +00:00
array-test.c Add missing const. (g_strsplit): Add g_return_val_if_fail for case of 2001-07-19 20:07:41 +00:00
casefold.txt Use G_N_ELEMENTS rather than a custom macro. 2001-07-02 00:49:21 +00:00
casemap.txt Use G_N_ELEMENTS rather than a custom macro. 2001-07-02 00:49:21 +00:00
cxx-test.C Now that we check for a C++ compiler in configure.in anyway, I added a 2001-05-29 14:17:23 +00:00
date-test.c Added #undef G_DISABLE_ASSERT and #undef G_LOG_DOMAIN throughout the 2002-07-04 15:19:30 +00:00
dirname-test.c Add missing const. (g_strsplit): Add g_return_val_if_fail for case of 2001-07-19 20:07:41 +00:00
gen-casefold-txt.pl Use G_N_ELEMENTS rather than a custom macro. 2001-07-02 00:49:21 +00:00
gen-casemap-txt.pl Use G_N_ELEMENTS rather than a custom macro. 2001-07-02 00:49:21 +00:00
gio-test.c add -DG_DISABLED_DEPRECATED 2002-10-15 22:16:57 +00:00
hash-test.c Fix access to freed memory in test case (Miroslaw Dobrzanski-Neumann). 2002-02-08 17:34:15 +00:00
iochannel-test-infile Modified Files: glib/ChangeLog glib/glib.def glib/glib/giochannel.c 2001-07-20 20:14:37 +00:00
iochannel-test.c use gsize instead of int where appropriate (64-bit cleanliness fix). 2002-10-15 22:39:16 +00:00
libmoduletestplugin_a.c Added #undef G_DISABLE_ASSERT and #undef G_LOG_DOMAIN throughout the 2002-07-04 15:19:30 +00:00
libmoduletestplugin_b.c Added #undef G_DISABLE_ASSERT and #undef G_LOG_DOMAIN throughout the 2002-07-04 15:19:30 +00:00
list-test.c Add missing const. (g_strsplit): Add g_return_val_if_fail for case of 2001-07-19 20:07:41 +00:00
mainloop-test.c add -DG_DISABLED_DEPRECATED 2002-10-15 22:16:57 +00:00
Makefile.am Remain silent when sucessful. 2003-05-27 22:12:40 +00:00
makefile.mingw.in Default to --disable-gtk-doc, to avoid Jade setup hassles. 2002-03-05 05:18:23 +00:00
makefile.msc.in no sym links on win32, no lstat in msvcrt 2002-02-10 16:42:36 +00:00
markup-test.c Added #undef G_DISABLE_ASSERT and #undef G_LOG_DOMAIN throughout the 2002-07-04 15:19:30 +00:00
module-test.c Added #undef G_DISABLE_ASSERT and #undef G_LOG_DOMAIN throughout the 2002-07-04 15:19:30 +00:00
node-test.c Implement G_LEVEL_ORDER correctly. 2001-11-26 19:08:46 +00:00
patterntest.c Remain silent when sucessful. 2003-05-27 22:12:40 +00:00
qsort-test.c Added #undef G_DISABLE_ASSERT and #undef G_LOG_DOMAIN throughout the 2002-07-04 15:19:30 +00:00
queue-test.c Added #undef G_DISABLE_ASSERT and #undef G_LOG_DOMAIN throughout the 2002-07-04 15:19:30 +00:00
rand-test.c Improved the seeding algorithm. Old behaviour can be achived by setting 2002-11-26 14:09:00 +00:00
relation-test.c Add missing const. (g_strsplit): Add g_return_val_if_fail for case of 2001-07-19 20:07:41 +00:00
run-markup-tests.sh New testcases. 2002-05-18 22:06:54 +00:00
shell-test.c 1.3.13 2002-01-29 20:23:48 +00:00
slist-test.c Add missing const. (g_strsplit): Add g_return_val_if_fail for case of 2001-07-19 20:07:41 +00:00
spawn-test-win32-gui.c Ignore the G_SPAWN_DO_NOT_REAP_CHILD flag, can't be meaninfully 2002-11-17 03:52:55 +00:00
spawn-test.c Ignore the G_SPAWN_DO_NOT_REAP_CHILD flag, can't be meaninfully 2002-11-17 03:52:55 +00:00
strfunc-test.c Avoid non-ANSI pointer comparison. (#54344, Morten Welinder) 2002-11-26 15:04:06 +00:00
string-test.c Use g_vasprintf() and g_string_append_len(), thus enabling embedded nuls 2003-06-05 23:04:21 +00:00
strtod-test.c Added #undef G_DISABLE_ASSERT and #undef G_LOG_DOMAIN throughout the 2002-07-04 15:19:30 +00:00
testgdate.c Added #undef G_DISABLE_ASSERT and #undef G_LOG_DOMAIN throughout the 2002-07-04 15:19:30 +00:00
testgdateparser.c Added #undef G_DISABLE_ASSERT and #undef G_LOG_DOMAIN throughout the 2002-07-04 15:19:30 +00:00
testglib.c pull in trio if host printf doesn't have a known way of printing 64-bit 2002-12-12 22:59:55 +00:00
thread-test.c Support for one-time initialization functions. (#69668, Sebastian 2003-07-08 23:43:48 +00:00
threadpool-test.c Added #undef G_DISABLE_ASSERT and #undef G_LOG_DOMAIN throughout the 2002-07-04 15:19:30 +00:00
timeloop-basic.c Added #undef G_DISABLE_ASSERT and #undef G_LOG_DOMAIN throughout the 2002-07-04 15:19:30 +00:00
timeloop-closure.c Added #undef G_DISABLE_ASSERT and #undef G_LOG_DOMAIN throughout the 2002-07-04 15:19:30 +00:00
timeloop.c Added #undef G_DISABLE_ASSERT and #undef G_LOG_DOMAIN throughout the 2002-07-04 15:19:30 +00:00
tree-test.c add -DG_DISABLED_DEPRECATED 2002-10-15 22:16:57 +00:00
type-test.c pull in trio if host printf doesn't have a known way of printing 64-bit 2002-12-12 22:59:55 +00:00
unicode-caseconv.c Added #undef G_DISABLE_ASSERT and #undef G_LOG_DOMAIN throughout the 2002-07-04 15:19:30 +00:00
unicode-collate.c add -DG_DISABLED_DEPRECATED 2002-10-15 22:16:57 +00:00
unicode-encoding.c Added #undef G_DISABLE_ASSERT and #undef G_LOG_DOMAIN throughout the 2002-07-04 15:19:30 +00:00
unicode-normalize.c add -DG_DISABLED_DEPRECATED 2002-10-15 22:16:57 +00:00
uri-test.c Get rid of UNSAFE_DOS_PATH. (acceptable): Align with RFC2396. (#59653) 2003-03-30 21:24:58 +00:00
utf8.txt move $enable_debug down below checks for GCC to avoid setting CFLAGS 2001-01-05 21:22:47 +00:00