optimized away, so I never assume anything about
atomicy in
 C constructs, that is not backed by the standard. 
AMEN to that.
  It might be worth to code that all up to have a GPLed
high
 performance fifo scheme.  
yes - one implementation to rule them all.  At this rate, building audio
apps will involve gathering all the libs and just gluing them together. :)