COMMON: Mention that SafeSeekableSubReadStream is not threading safe.

This commit is contained in:
Johannes Schickel 2012-03-11 00:53:23 +01:00
parent 48efab4e5a
commit d7ba69ca27

View File

@ -103,6 +103,9 @@ public:
* at the same time; they won't mess up each other. They will, however,
* reposition the parent stream, so don't depend on its position to be
* the same after a read() or seek() on one of its SafeSeekableSubReadStream.
*
* Note that this stream is *not* threading safe. Calling read from the audio
* thread and from the main thread might mess up the data retrieved.
*/
class SafeSeekableSubReadStream : public SeekableSubReadStream {
public: