History log of /external/bluetooth/glib/tests/onceinit.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
d5c437081366ba9617c9a23a09d167aede52a8b9 14-Aug-2007 Tim Janik <timj@imendio.com> prevent race covered by g_once_init_enter(), by checking for previous

Tue Aug 14 02:06:10 2007 Tim Janik <timj@imendio.com>

* glib/gthread.c (g_once_init_enter_impl): prevent race covered
by g_once_init_enter(), by checking for previous initializations
before entering initialisation branch.

* tests/onceinit.c: added multi-thread/multi-initializer stress test
using unoptimized g_once_init_enter_impl().



svn path=/trunk/; revision=5701
/external/bluetooth/glib/tests/onceinit.c
e0dffd03fb023d518121e3c0829adcadf66f3c8e 13-Aug-2007 Tim Janik <timj@imendio.com> fixed array size typo.

Mon Aug 13 14:30:15 2007 Tim Janik <timj@imendio.com>

* tests/onceinit.c (main): fixed array size typo.



svn path=/trunk/; revision=5699
/external/bluetooth/glib/tests/onceinit.c
1ce6d47e3a5efea2211569b97af81a6305eaf13b 13-Aug-2007 Tim Janik <timj@imendio.com> test g_once_init_*() before and after g_thread_init() and test concurrency

Mon Aug 13 14:21:44 2007 Tim Janik <timj@imendio.com>

* tests/onceinit.c: test g_once_init_*() before and after
g_thread_init() and test concurrency resolution.



svn path=/trunk/; revision=5698
/external/bluetooth/glib/tests/onceinit.c