summaryrefslogtreecommitdiff
path: root/gthread
AgeCommit message (Collapse)AuthorFilesLines
2008-03-16Don't bother defining Autoconf variables for glib.def, gmodule.def,Tor Lillqvist2-1/+7
2008-03-16 Tor Lillqvist <tml@novell.com> * configure.in: Don't bother defining Autoconf variables for glib.def, gmodule.def, gobject.def and gthread.def when this can be handled easily in */Makefile.am which are the only files that use them. Remove also TESTGMODULE_EXP which isn't used at all. * */Makefile.am: Corrsponding changes. svn path=/trunk/; revision=6722
2008-03-112.16.1GLIB_2_16_1Matthias Clasen1-0/+4
svn path=/trunk/; revision=6671
2008-03-102.16.0Matthias Clasen1-0/+4
svn path=/trunk/; revision=6661
2008-02-252.15.6GLIB_2_15_6Matthias Clasen1-0/+4
svn path=/trunk/; revision=6593
2008-02-17define CSIDL_MYPICTURES if not available use G_STRFUNC instead of compilerHans Breuer1-1/+1
2008-02-17 Hans Breuer <hans@breuer.org> * glib/gutils.c : define CSIDL_MYPICTURES if not available * gthread/gthread-win32.c : use G_STRFUNC instead of compiler specific __FUNCTION__ svn path=/trunk/; revision=6526
2008-02-112.15.5GLIB_2_15_5Matthias Clasen1-0/+4
svn path=/trunk/; revision=6503
2008-02-10/bin/ksh can't handle a for-loop with no arguments, so add a "." for whenMatthias Clasen1-1/+1
2008-02-09 Matthias Clasen <mclasen@redhat.com> * Makefile.decl: /bin/ksh can't handle a for-loop with no arguments, so add a "." for when $(SUBDIRS) is empty. * glib/tests/option-context.c: * glib/tests/testing.c: * gthread/gthread-posix.c: * tets/testingbase64.c: * glib/gtester.c: * glib/gsequence.c: Portability fixes. (#515154) svn path=/trunk/; revision=6487
2008-01-292.15.4GLIB_2_15_4Matthias Clasen1-0/+4
svn path=/trunk/; revision=6402
2008-01-27Deprecate G_GNUC_(PRETTY)_FUNCTION.Matthias Clasen3-2/+8
2008-01-27 Matthias Clasen <mclasen@redhat.com> * glib/gmacros.h: Deprecate G_GNUC_(PRETTY)_FUNCTION. svn path=/trunk/; revision=6389
2008-01-212.15.3GLIB_2_15_3Matthias Clasen1-0/+4
svn path=/trunk/; revision=6347
2008-01-142.15.2GLIB_2_15_2Matthias Clasen1-0/+4
svn path=/trunk/; revision=6310
2008-01-072.15.1GLIB_2_15_1Matthias Clasen1-0/+4
svn path=/trunk/; revision=6267
2007-12-212.15.0Matthias Clasen1-0/+4
svn path=/trunk/; revision=6180
2007-11-25Replace INCLUDES by AM_CPPFLAGS, other cleanups.Matthias Clasen1-4/+9
2007-11-24 Matthias Clasen <mclasen@redhat.com> * */Makefile.am: Replace INCLUDES by AM_CPPFLAGS, other cleanups. svn path=/trunk/; revision=5932
2007-11-21initialize automake variables EXTRA_DIST and TEST_PROGS for unconditional21:06:47 Tim Janik1-1/+2
2007-11-21 21:06:47 Tim Janik <timj@imendio.com> * Makefile.decl: initialize automake variables EXTRA_DIST and TEST_PROGS for unconditional appending via += in other makefiles. define recursive test targets: test, test-report, perf-report, full-report, as described here: http://mail.gnome.org/archives/gtk-devel-list/2007-November/msg00000.html * Makefile.am: * build/win32/vs8/Makefile.am, build/win32/dirent/Makefile.am: * build/win32/Makefile.am, build/Makefile.am: * docs/Makefile.am, docs/reference/Makefile.am: * docs/reference/glib/Makefile.am, docs/reference/gobject/Makefile.am: * gmodule/Makefile.am, tests/Makefile.am: * tests/refcount/Makefile.am, tests/gobject/Makefile.am: * glib/update-pcre/Makefile.am, glib/libcharset/Makefile.am: * glib/tests/Makefile.am, glib/pcre/Makefile.am: * glib/gnulib/Makefile.am, gobject/Makefile.am, m4macros/Makefile.am: * gthread/Makefile.am, glib/Makefile.am: include $(top_srcdir)/Makefile.decl, adapted EXTRA_DIST assignments. * glib/tests/Makefile.am: removed example testing rules. * glib/tests/testing.c: conditionalized performance and slow tests. * glib/gtestutils.h: * glib/gtestutils.c: work around g_test_config_vars not changing its exported value after value assignments, aparently due to symbol aliases. * glib/gtester.c: fixed off-by-one error which produced junk in logs. * configure.in: check for python >= 2.4 and provide $PYTHON for scripts. svn path=/trunk/; revision=5914
2007-11-072.14.3GLIB_2_14_3Matthias Clasen1-0/+4
svn path=/trunk/; revision=5802
2007-10-162.14.2GLIB_2_14_2Matthias Clasen1-0/+4
svn path=/trunk/; revision=5786
2007-09-162.14.1GLIB_2_14_1Matthias Clasen1-0/+4
svn path=/trunk/; revision=5770
2007-08-042.14.0GLIB_2_14_0Matthias Clasen1-0/+4
svn path=/trunk/; revision=5674
2007-07-122.13.7GLIB_2_13_7Matthias Clasen1-0/+4
svn path=/trunk/; revision=5634
2007-06-292.13.6GLIB_2_13_6Matthias Clasen1-0/+4
svn path=/trunk/; revision=5591
2007-06-182.13.5GLIB_2_13_5Matthias Clasen1-0/+4
svn path=/trunk/; revision=5577
2007-06-062.13.4Matthias Clasen1-0/+4
svn path=/trunk/; revision=5540
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.