• Matthias Clasen's avatar
    Don't link glib against libpthread. (#393812) · 541462ab
    Matthias Clasen authored
    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
gthread.h 15.5 KB