nano-sleep ...



Can we remove:

Index: gconf-internals.c
===================================================================
RCS file: /cvs/gnome/gconf/gconf/gconf-internals.c,v
retrieving revision 1.89
diff -u -r1.89 gconf-internals.c
--- gconf-internals.c	2001/08/01 16:18:49	1.89
+++ gconf-internals.c	2001/08/12 01:40:57
@@ -2180,31 +2180,6 @@
     }
 }

-/* Sleep */
-
-#ifdef HAVE_NANOSLEEP
-
-void
-gconf_nanosleep(gulong useconds)
-{
-  struct timespec ts={tv_sec: (long int)(useconds/1000000),
-                      tv_nsec: (long int)(useconds%1000000)*1000ul};
-
-  nanosleep(&ts,NULL);
-}
-
-#elif HAVE_USLEEP
-
-void
-gconf_nanosleep(gulong useconds)
-{
-  usleep(useconds);
-}
-
-#else
-#error "need nanosleep or usleep right now (fix with simple select()
hack)"
-#endif
-
 /*
  * Locks using directories, to work on NFS (at least potentially)
  */

	?

		Michael.

-- 
 mmeeks gnu org  <><, Pseudo Engineer, itinerant idiot






[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]