2 Sep 21:24
[Boost.Asio] strands sharing an object
Ivo Andric <ivandric <at> yahoo.co.uk>
2008-09-02 19:24:10 GMT
2008-09-02 19:24:10 GMT
|
Hi, Suppose I have 2 strands, one with callbacks that read from one socket and another with callbacks writing to another socket. And, suppose I have some kind of queue structure in between. The io_service is run with 2 threads. How do I synchronize access to the queue between these two strads? Many thanks Ivo |
_______________________________________________ Boost-users mailing list Boost-users <at> lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
RSS Feed