
14 Dec
2005
14 Dec
'05
4:13 p.m.
Hi, Arkadiy Vertleyb wrote...
There are cases when having multiple threads, each working in a synchronous way, is a better approach. [...]
"Christopher Kohlhoff" <chris@kohlhoff.com> wrote
Since iostreams basically enforce synchronous operation, this seems like a sensible place to hide the demuxer and asynchronicity away.
Just one question: Would it be possible to "hide away" the demuxer and asynchronicity in a thread-safe way? I would like to use synchronous socket streams in a multi-threaded application. Best regards, Tilman