Synchronized Streams
The synchronized streams synchronize individual streaming operations in a multithreaded environment. The synchronized streams take a handle to the next streaming element when constructed. Each operation invoked on the synchronized stream locks an internal mutex and is forwarded onto the next processing stream element.
The synchronized stream classes for the input streams are named RWSynchronized{TYPE}InputStreamImp, and the synchronized stream classes for the output streams are named RWSynchronized{TYPE}OutputStreamImp, where {TYPE} is one of the following:
Byte Char UChar WChar Data Your application manipulates the concrete stream classes only when they are created. After creation, the concrete stream classes are manipulated through their corresponding handle classes.