>[...] >> Another plugin might use a ring buffer for sending data to >> the processing thread. Ringbuffers can be implemented in a way that they >are >> thread safe without the use of critical regions. > >This is not portable. as extensively discussed over on lad (and probably lots of other places too), yes it is, assuming single-reader/single-writer. it doesn't require anything except an atomic read/write type capable of storing the ringbuffer size. i don't know why you think otherwise - you've never raised this on lad as far as i recall .... ---------------------------------------------------------------------- Generalized Music Plugin Interface (GMPI) public discussion list Participation in this list is contingent upon your abiding by the following rules: Please stay on topic. You are responsible for your own words. Please respect your fellow subscribers. Please do not redistribute anyone else's words without their permission. Archive: //www.freelists.org/archives/gmpi Email gmpi-request@xxxxxxxxxxxxx w/ subject "unsubscribe" to unsubscribe