Don't link glib against libpthread. (#393812)
authorMatthias Clasen <mclasen@redhat.com>
Mon, 8 Jan 2007 05:13:15 +0000 (05:13 +0000)
committerMatthias Clasen <matthiasc@src.gnome.org>
Mon, 8 Jan 2007 05:13:15 +0000 (05:13 +0000)
commit541462ab1e942ea02dd7d2e6dbcf0d02ad2c88de
tree1dd9e0b75d89e5fbf2de609bb335d85cc9d04ab7
parent8a688f12f05a0a5e70570a6af6efdc24f52cb53f
Don't link glib against libpthread. (#393812)

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
ChangeLog
configure.in
glib/gthread.c
glib/gthread.h
glib/gtimer.c
gthread/gthread-impl.c
gthread/gthread-posix.c
gthread/gthread-win32.c