summaryrefslogtreecommitdiff
path: root/gthread
AgeCommit message (Collapse)AuthorFilesLines
2007-06-042.13.3GLIB_2_13_3Matthias Clasen1-0/+4
svn path=/trunk/; revision=5531
2007-05-232.13.2GLIB_2_13_2Matthias Clasen1-0/+4
svn path=/trunk/; revision=5511
2007-05-032.13.1GLIB_2_13_1Matthias Clasen1-0/+4
svn path=/trunk/; revision=5478
2007-03-162.13.0GLIB_2_13_0Matthias Clasen1-0/+4
svn path=/trunk/; revision=5419
2007-01-19gmodule/Makefile.am (gmodule-2.0.lib) Use $(srcdir) for builds outsideTor Lillqvist2-1/+6
2007-01-19 Tor Lillqvist <tml@novell.com> * gmodule/Makefile.am (gmodule-2.0.lib) * gthread/Makefile.am (gthread-2.0.lib): Use $(srcdir) for builds outside srcdir. svn path=/trunk/; revision=5300
2007-01-16Revert an accidental ABI break by moving gettime out of theMatthias Clasen4-15/+13
2007-01-16 Matthias Clasen <mclasen@redhat.com> * glib/gthread.h: * glib/gthread.c: * glib/glib.symbols: Revert an accidental ABI break by moving gettime out of the GThreadFunctions struct and making it a separate variable. (#397139, Joe Marcus Clarke) * gthread/*.c: Adapt. svn path=/trunk/; revision=5279
2007-01-16glib/gthread.c (gettime) GetSystemTimeAsFileTime() returns 100s ofTor Lillqvist2-2/+8
2007-01-16 Tor Lillqvist <tml@novell.com> * glib/gthread.c (gettime) * gthread-win32.c (g_gettime_win32_impl): GetSystemTimeAsFileTime() returns 100s of nanoseconds since 1601, so offset to Unix epoch (1970) and multiply by 100 to get nanoseconds which is what we want. svn path=/trunk/; revision=5277
2007-01-16glib/gthread.c (gettime) GetSystemTimeAsFileTime() returns 100s ofTor Lillqvist2-0/+7
2007-01-16 Tor Lillqvist <tml@novell.com> * glib/gthread.c (gettime) * gthread-win32.c (g_gettime_win32_impl): GetSystemTimeAsFileTime() returns 100s of nanoseconds, so multiply by 100 to get nanoseconds which is what we want. svn path=/trunk/; revision=5276
2007-01-15Correct the gettime calculations once more. (#395203, Chris Wilson)Matthias Clasen1-2/+1
2005-01-15 Matthias Clasen <mclasen@redhat.com> * glib/gthread.c: * gthread/gthread-posix.c: Correct the gettime calculations once more. (#395203, Chris Wilson) svn path=/trunk/; revision=5262
2007-01-12Fix errors in the recently moved time calculations. (#395203, ChrisMatthias Clasen1-2/+3
2007-01-12 Matthias Clasen <mclasen@redhat.com> * gthread/gthread-posix.c: * glib/gtimer.c: * glib/gthread.c: Fix errors in the recently moved time calculations. (#395203, Chris Wilson) svn path=/trunk/; revision=5244
2007-01-08Don't use _SC_MONOTONIC_CLOCK unless USE_CLOCK_GETTIME is defined.Matthias Clasen1-1/+3
2007-01-08 Matthias Clasen <mclasen@redhat.com> * gthread/gthread-posix.c (g_thread_impl_init): Don't use _SC_MONOTONIC_CLOCK unless USE_CLOCK_GETTIME is defined. (#394150) svn path=/trunk/; revision=5230
2007-01-08Don't link glib against libpthread. (#393812)Matthias Clasen3-4/+44
2007-01-07 Matthias Clasen <mclasen@redhat.com> Don't link glib against libpthread. (#393812) * configure.in: Link gthread against librt, not glib itself. * glib/gthread.h: * glib/gthread.c: Add a new thread function, gettime. * glib/gtimer.c: Use gettime instead of directly working with the various system interfaces. * gthread/gthread-impl.c: * gthread/gthread-posix.c: * gthread/gthread-win32.c: Implement gettime. svn path=/trunk/; revision=5227
2007-01-03removed all .cvsignore files. SVN doesn't need them.Michael Natterer1-20/+0
2007-01-03 Michael Natterer <mitch@imendio.com> * removed all .cvsignore files. SVN doesn't need them. svn path=/trunk/; revision=5198
2006-12-28Correct link to discussion about CRITICAL_SECTIONs vs. mutexes. Thanks toTor Lillqvist2-4/+10
2006-12-28 Tor Lillqvist <tml@novell.com> * gthread-win32.c (g_thread_impl_init): Correct link to discussion about CRITICAL_SECTIONs vs. mutexes. Thanks to Felix Kater for pointing this out.
2006-11-05makefile.mingw gmodule/makefile.mingw.in glib/makefile.mingw.inTor Lillqvist1-25/+0
2006-11-05 Tor Lillqvist <tml@novell.com> * makefile.mingw * gmodule/makefile.mingw.in * glib/makefile.mingw.in * gobject/makefile.mingw.in * gthread/makefile.mingw.in * tests/makefile.mingw.in: Remove from CVS. Haven't been maintained or distributed for long.
2006-08-162.12.2GLIB_2_12_2Matthias Clasen1-0/+4
2006-07-222.12.1GLIB_2_12_1Matthias Clasen1-0/+4
2006-07-022.12.0GLIB_2_12_0Matthias Clasen1-0/+4
2006-06-202.11.4GLIB_2_11_4Matthias Clasen1-0/+4
2006-06-122.11.3GLIB_2_11_3Matthias Clasen1-0/+4
2006-06-052.11.2GLIB_2_11_2Matthias Clasen1-0/+4
2006-05-152.11.1GLIB_2_11_1Matthias Clasen1-0/+4
2006-05-11Make the magic and location arguments to the error-checking-mutexSebastian Wilhelmi1-131/+98
2006-05-10 Sebastian Wilhelmi <wilhelmi@google.com> * glib/gthread.h, gthread/gthread-impl.c: Make the magic and location arguments to the error-checking-mutex functions const and do not write to them, as we might not own them. Clean up the error-checking-mutex code quite a bit. (#335198, Chris Wilson)
2006-05-11Prevent calling into g_cond_wait resp. g_mutex_lock/unlock directly toSebastian Wilhelmi2-71/+77
2006-05-10 Sebastian Wilhelmi <wilhelmi@google.com> * gthread/gthread-posix.c, gthread/gthread-win32.c: Prevent calling into g_cond_wait resp. g_mutex_lock/unlock directly to avoid recursions into the errorcheking mutex code (and out of principle anyway). (#335198, Chris Wilson)
2006-05-10Renamed to glib/gthreadprivate.h and moved system thread identifierSebastian Wilhelmi1-23/+34
2006-05-09 Sebastian Wilhelmi <wilhelmi@google.com> * glib/gthreadinit.h: Renamed to glib/gthreadprivate.h and moved system thread identifier comparision and assignment macros from glib/gthread.c to glib/gthreadprivate.h. * glib/Makefile.am, glib/gatomic.c, glib/gconvert.c, glib/gmain.c, glib/gmem.c, glib/gmessages.c, glib/grand.c, glib/gslice.c, glib/gthread.c, glib/gutils.c, gthread/gthread-impl.c: Use glib/gthreadprivate.h instead of glib/gthreadinit.h. * gthread/gthread-impl.c: Use GSystemThread instead of GThread for owner determination. This fixes #311043 and is mostly modeled after the patch from jylefort@FreeBSD.org.
2006-05-09Use canonical include form for internal headers. config.h is always there.Sebastian Wilhelmi3-10/+6
2006-05-09 Sebastian Wilhelmi <wilhelmi@google.com> * glib/gprintf.c, glib/gspawn-win32.c, glib/gutf8.c, gthread/gthread-impl.c, gthread/gthread-posix.c, gthread/gthread-win32.c: Use canonical include form for internal headers. config.h is always there.
2006-05-09Remove obsolete gthread/gthread-solaris.c.Sebastian Wilhelmi1-279/+0
2006-05-09 Sebastian Wilhelmi <wilhelmi@google.com> * Remove obsolete gthread/gthread-solaris.c.
2006-05-03Free with free() and not g_free() what has been allocated with calloc().Tor Lillqvist2-1/+7
2006-05-03 Tor Lillqvist <tml@novell.com> * gthread-win32.c (g_thread_exit_win32_impl): Free with free() and not g_free() what has been allocated with calloc(). (#340530, Jake Goulding)
2006-05-032.11.0GLIB_2_11_0Matthias Clasen1-0/+4
2006-04-07added gbase64.obj and derive the static libs name from auto* variablesHans Breuer1-1/+1
2006-04-07 Hans Breuer <hans@breuer.org> * glib/makefile.msc.in : added gbase64.obj and derive the static libs name from auto* variables * glib/makefile.msc.in : link user32.lib for MessageBox()
2006-03-11#define _WIN32_WINDOWS as 0x0401 to get declaration forTor Lillqvist2-0/+7
2006-03-11 Tor Lillqvist <tml@novell.com> * gthread-win32.c: #define _WIN32_WINDOWS as 0x0401 to get declaration for IsDebuggerPresent() when using MSVC6. (#333879, Kazuki Iwamoto)
2006-03-072.10.1GLIB_2_10_1Matthias Clasen1-0/+4
2006-03-02Increase to 100. 16 was rather low. (g_private_new_win32_impl): Can't useTor Lillqvist2-3/+22
2006-03-02 Tor Lillqvist <tml@novell.com> * gthread-win32.c (G_PRIVATE_MAX): Increase to 100. 16 was rather low. (g_private_new_win32_impl): Can't use g_error() here as g_private_new() is called a few times by GLib internally before the messaging system that g_error() requires is ready. Thanks to Tim Janik for noticing. Just display a MessageBox() and abort() instead.
2006-02-242.10.0GLIB_2_10_0Matthias Clasen1-0/+4
2006-02-20Make the implementation of GPrivate behave more closely as in POSIXTor Lillqvist2-7/+29
2006-02-20 Tor Lillqvist <tml@novell.com> * gthread-win32.c (g_thread_exit_win32_impl): Make the implementation of GPrivate behave more closely as in POSIX threads: The value associacted with a GPrivate must be set to NULL before calling the destructor. (The destructor gets the original value as argument.) A destructor might re-associate a non-NULL value with some GPrivate. To deal with this, if after all destructors have been called, there still are some non-NULL values, the process is repeated. (#331367)
2006-02-112.9.6GLIB_2_9_6Matthias Clasen1-0/+4
2006-01-272.9.5GLIB_2_9_5Matthias Clasen1-0/+4
2006-01-182.9.4GLIB_2_9_4Matthias Clasen1-0/+4
2006-01-172.9.3GLIB_2_9_3Matthias Clasen1-0/+4
2006-01-062.9.2GLIB_2_9_2Matthias Clasen1-0/+4
2005-12-092.9.1GLIB_2_9_1Matthias Clasen1-0/+4
2005-12-02Remove support for Solaris threads. (#136971, Sebastian Wilhelmi, patch byMatthias Clasen2-1/+4
2005-12-02 Matthias Clasen <mclasen@redhat.com> * glib/gspawn.c: * configure.in: Remove support for Solaris threads. (#136971, Sebastian Wilhelmi, patch by Andrew Paprocki)
2005-11-182.9.0GLIB_2_9_0Matthias Clasen1-0/+4
2005-08-232.8.1GLIB_2_8_1Matthias Clasen1-0/+4
2005-08-122.8.0GLIB_2_8_0Matthias Clasen1-0/+4
2005-08-052.7.7GLIB_2_7_7Matthias Clasen1-0/+4
2005-08-032.7.6GLIB_2_7_6Matthias Clasen1-0/+4
2005-08-022.7.5GLIB_2_7_5Matthias Clasen1-0/+4
2005-07-222.7.4GLIB_2_7_4Matthias Clasen1-0/+4
2005-07-152.7.3GLIB_2_7_3Matthias Clasen1-0/+4