Slowed down highspeed loops waiting for drive status changes

This commit is contained in:
2006-09-10 10:09:17 +00:00
parent 931f2934fd
commit 6d1ab2c580
4 changed files with 21 additions and 12 deletions

View File

@ -626,7 +626,8 @@ int burn_drive_scan_and_grab(struct burn_drive_info *drive_infos[], char* adr,
fprintf(stderr,"libburn: experimental: burn_drive_scan_and_grab(%s)\n",
adr);
*/
while (!burn_drive_scan(drive_infos, &n_drives));
while (!burn_drive_scan(drive_infos, &n_drives))
usleep(1002);
if (n_drives <= 0)
return 0;
/*