java - PipedOutputStream/PipedInputStream analog in c++ -


in java, there pipedoutputstream/pipedinputstream pair, circular buffer constant size. 1 thread can write pipedoutputstream, , blocked, if buffer full. in similar way, thread read pipedinputstream, , blocked, if buffer empty. helpful - example, if want read big file disk, , send internet.

so, question - there analog in c++ (stl or boost)?


Comments

Popular posts from this blog

inversion of control - Autofac named registration constructor injection -

verilog - Systemverilog dynamic casting issues -

ios - Change Storyboard View using Seague -