After finding the right thread library (containing e.g. pthread_create) we
authorSebastian Wilhelmi <wilhelmi@ira.uka.de>
Thu, 23 Mar 2000 16:23:50 +0000 (16:23 +0000)
committerSebastian Wilhelmi <wilhelmi@src.gnome.org>
Thu, 23 Mar 2000 16:23:50 +0000 (16:23 +0000)
commitac4abbba3eacb7f4000ae5f800ac5efab36bc2c3
tree4b7d6c033e79ef0b46f9ca7c4e8ed34f60e47c5e
parentdd781b91ec5322358cab4ff3e217b616cf2bc62b
After finding the right thread library (containing e.g. pthread_create) we

2000-03-23  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>

* configure.in: After finding the right thread library (containing
e.g. pthread_create) we now search for the right realtime library
(containing e.g. sched_get_priority_max). Makes the output of the
thread related libraries correct.

* gtimer.c (g_usleep): The current implementation of g_usleep
(simply calling select) doesn't work reliable for multi-threaded
programs on some platforms (bad omen for the main loop....), so I
changed the implementation for thread-using programs to wait for a
GCond for the specified amount of time (NB: sleep and usleep are
not MT-safe in general, because they often use signals).
ChangeLog
ChangeLog.pre-2-0
ChangeLog.pre-2-10
ChangeLog.pre-2-12
ChangeLog.pre-2-2
ChangeLog.pre-2-4
ChangeLog.pre-2-6
ChangeLog.pre-2-8
configure.in
glib/gtimer.c
gtimer.c