> Be careful with volatile variables: Unless they refer to hardware- 
> backed
> data (MMIO), you may just happen to write racy lock-less code - or the
> volatile is useless anyway.

Yes that is true. In this case, however, writes are atomic (just 0 or  
1) and even if something happens the "mode of failure" will be a  
missed 125us cycle of sound output. I doubt anyone would hear just one.

Steven


_______________________________________________
Xenomai-core mailing list
Xenomai-core@gna.org
https://mail.gna.org/listinfo/xenomai-core

Reply via email to