Improved reaction time on interrupt during writing of lead-in

This commit is contained in:
Thomas Schmitt 2012-01-23 10:13:08 +00:00
parent 88da4e9ead
commit 8963905bbc
2 changed files with 5 additions and 2 deletions

View File

@ -1 +1 @@
#define Cdrskin_timestamP "2012.01.22.125048" #define Cdrskin_timestamP "2012.01.22.125357"

View File

@ -187,7 +187,10 @@ int burn_drive_is_occupied(struct burn_drive *d)
if(d->busy == BURN_DRIVE_READING_SYNC || if(d->busy == BURN_DRIVE_READING_SYNC ||
d->busy == BURN_DRIVE_WRITING_SYNC) d->busy == BURN_DRIVE_WRITING_SYNC)
return 2; return 2;
if(d->busy == BURN_DRIVE_WRITING) { if(d->busy == BURN_DRIVE_WRITING ||
d->busy == BURN_DRIVE_WRITING_LEADIN ||
d->busy == BURN_DRIVE_WRITING_LEADOUT ||
d->busy == BURN_DRIVE_WRITING_PREGAP) {
/* ts A70928 */ /* ts A70928 */
/* >>> how do i learn whether the writer thread is still /* >>> how do i learn whether the writer thread is still