Avoiding to start writer thread if iso_write_opts_set_will_cancel() is set to 1.

This commit is contained in:
2010-12-06 17:05:35 +01:00
parent 27e69c38ab
commit dcc6ffd184
3 changed files with 35 additions and 10 deletions

View File

@@ -1206,11 +1206,13 @@ int iso_write_opts_new(IsoWriteOpts **opts, int profile);
void iso_write_opts_free(IsoWriteOpts *opts);
/**
* Announce that only the image size is desired and that the write thread
* will be cancelled by the .cancel() method of the struct burn_source that
* consumes the image output stream.
* This avoids to generate a MISHAP event when the effect of .cancel()
* reaches the image generator thread.
* Announce that only the image size is desired, that the struct burn_source
* which is set to consume the image output stream will stay inactive,
* and that the write thread will be cancelled anyway by the .cancel() method
* of the struct burn_source.
* This avoids to create a write thread which would begin production of the
* image stream and would generate a MISHAP event when burn_source.cancel()
* gets into effect.
*
* @param opts
* The option set to be manipulated.