> 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.


Xenomai-core mailing list

Reply via email to