Boost logo

Boost Users :

Subject: [Boost-users] boost non-blocking read write routines
From: Jack Bryan (dtustudy68_at_[hidden])
Date: 2011-11-22 19:24:46


Hi,
I am coding for data exchange between threads by boost C++.
Some threads need to read or write some data structure asynchronously.
For example, we have thread 1 and thread 2.
When thread 1 needs to get some data from thread 2, if the data is still not available for thread 1, it should not be blocked and can do other things and then go back to check the data again later.
The same things are for thread 2.
What are the API routines of boost non-blocking read write , which can do that ?
I cannot find it in boost document.
thanks

                                               



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