ext/Services.c in rubyfb-0.5.4 vs ext/Services.c in rubyfb-0.5.5
- old
+ new
@@ -23,10 +23,11 @@
* @version 1.0
*/
#include "Services.h"
#include "FireRubyException.h"
+#include "rfbsleep.h"
#ifdef OS_UNIX
#include <unistd.h>
#endif
/* Defines. */
@@ -114,10 +115,10 @@
free(output);
/* Snooze if we're not done. */
if(!done)
{
- sleep(1);
+ rfb_sleep(1);
}
}
return(result);
}