glib r5629 - in trunk: . glib tests



Author: timj
Date: 2007-07-12 16:07:52 +0100 (Thu, 12 Jul 2007)
New Revision: 5629
ViewCVS link: http://svn.gnome.org/viewcvs/glib?rev=5629&view=rev

Added:
   trunk/tests/slice-threadinit.c
Modified:
   trunk/ChangeLog
   trunk/glib/gslice.c
   trunk/tests/Makefile.am
Log:
Thu Jul 12 15:46:40 2007  Tim Janik  <timj imendio com>

        * glib/gslice.c: migrate per-thread magazine caches from single-thread
        scenario to first thread using GSlice after g_thread_init(); based on
        a patch by Tor Lillqvist, fixes #331853.
        removed warning about g_thread_init() being called after other glib
        functions (in particular g_slice* calls), because GSlice can cope
        with this now and the rest of glib is believed to cope as well.

        * tests/slice-threadinit.c: new test program which tests GSlice working
        across g_thread_init() calls.







[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]