Browse Source

MacOSX/Framework/VLCEventManager.m: s/msleep/usleep/.

Pierre d'Herbemont 17 years ago
parent
commit
0ea2540363
1 changed files with 2 additions and 1 deletions
  1. 2 1
      Sources/VLCEventManager.m

+ 2 - 1
Sources/VLCEventManager.m

@@ -67,7 +67,8 @@ static void * EventDispatcherMainLoop(void * user_data)
         int i;
 
         /* Sleep a bit not to flood the interface */
-        msleep(300);
+        usleep(300);
+
         /* Wait for some data */
 
         pthread_mutex_lock( [self queueLock] );