Use dbus provided wait function.
authorRalf Habacker <ralf.habacker@freenet.de>
Fri, 11 Jun 2010 22:02:57 +0000 (00:02 +0200)
committerRalf Habacker <ralf.habacker@freenet.de>
Sat, 12 Jun 2010 05:30:45 +0000 (07:30 +0200)
dbus/dbus-connection.c

index f5c1872..16ba2c7 100644 (file)
@@ -815,7 +815,7 @@ retry:
   else
     {
       CONNECTION_UNLOCK (connection);
-      usleep(1000);
+      _dbus_sleep_milliseconds (1);
       CONNECTION_LOCK (connection);
       goto retry;
     }