I didn't mean that another procesess may interrupt execution, no. I meant that handle_syncstart itself may return before SYNC_START stage. There is the following code in handle_syncstart:
if((err = prepare_output(adev, adev->dmap_out)) < 0) return err; If prepare_output fails handle_syncstart will return before SYNC_TRIGGER stage, that's what I meant saying "interrupted". Maybe I didn't express this clearly. Regards, Zakhar Levchenko On 6/10/08, Hannu Savolainen <[EMAIL PROTECTED]> wrote: > > Zakhar Levchenko kirjoitti: > > > Hi, > > > > This is good approach, however it may fail if syncstart operation is > > interrupted before SYNC_TRIGGER stage. I don't know if this is really > > possible in practice, > > It will not be possible because there is now a mutex around the code > that makes the SYNC_PREPARE and SYNC_TRIGGER calls. > > > Best regards, > > Hannu > _______________________________________________ > oss-devel mailing list > oss-devel@mailman.opensound.com > http://mailman.opensound.com/mailman/listinfo/oss-devel >
_______________________________________________ oss-devel mailing list oss-devel@mailman.opensound.com http://mailman.opensound.com/mailman/listinfo/oss-devel