Clean up g_usleep()
authorRyan Lortie <desrt@desrt.ca>
Mon, 1 Nov 2010 20:35:10 +0000 (16:35 -0400)
committerRyan Lortie <desrt@desrt.ca>
Wed, 3 Nov 2010 02:39:09 +0000 (22:39 -0400)
commit38e7aa9855a3e18d5350733ee4177ab00cee15df
tree02dcf3db882f4830f3d28cca942e93215c4120c8
parenta48faa0aed1c422ba04301a4786419de44ea65e8
Clean up g_usleep()

Remove some code that was written in 2000 to support OSes that do not
have nanosleep().  nanosleep() has been specified (in POSIX-1.2001) for
almost a decade now, so assume we have it (except on Windows).

Remove the checks for nanosleep and nsleep from configure.ac.

We're removing this code because we honestly believe that nobody will be
affected.  If this change negatively impacts you, please file a bug.
configure.ac
glib/gtimer.c