Using usleep() instead of nanosleep() which is not available on Solaris 9
This commit is contained in:
parent
0a714850d7
commit
2b07bd0632
@ -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 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