Boost Users :
Subject: Re: [Boost-users] Concurrency and session termination in boost::asio
From: Igor R (boost.lists_at_[hidden])
Date: 2008-11-08 11:39:59
> Or do I need to hold a mutex whenever I'm calling any method on a
> tcp::socket? Looking more closely at the documentation, it looks like that's the case.
Sure, the reference of ip::tcp::socket says:
Distinct objects: Safe.
Shared objects: Unsafe. "
> Thanks again for all your help, both Igor and Boris!
you're welcome :)
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net