Using usleep() instead of nanosleep() which is not available on Solaris 9
This commit is contained in:
parent
0d426a755f
commit
d5ae5ebf6c
@ -1 +1 @@
|
|||||||
#define Cdrskin_timestamP "2011.01.16.140456"
|
#define Cdrskin_timestamP "2011.01.18.162859"
|
||||||
|
@ -211,9 +211,10 @@ struct burn_source *burn_fd_source_new(int datafd, int subfd, off_t size)
|
|||||||
|
|
||||||
static int fifo_sleep(int flag)
|
static int fifo_sleep(int flag)
|
||||||
{
|
{
|
||||||
static struct timespec sleeptime = { 0, 50000000}; /* 50 ms */
|
static unsigned long sleeptime = 50000; /* 50 ms */
|
||||||
|
|
||||||
return nanosleep(&sleeptime, NULL);
|
usleep(sleeptime);
|
||||||
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user