[thread] debug output when using futures/promises
Hello, The following code, compiled with Boost trunk: #include <string> #include <boost/thread/future.hpp> int main() { boost::promise<std::string> p; boost::shared_future<std::string> f(p.get_future()); } Gives me the following output when I run it: 1334 0 1336 0 1347 0 1349 1 I have built Boost in release mode. What is causing this output? Can it be removed? Thanks, Nate
Le 08/03/12 01:21, Nathan Ridge a écrit :
Hello,
The following code, compiled with Boost trunk:
#include<string> #include<boost/thread/future.hpp>
int main() { boost::promise<std::string> p; boost::shared_future<std::string> f(p.get_future()); }
Gives me the following output when I run it:
1334 0 1336 0 1347 0 1349 1
I have built Boost in release mode.
What is causing this output? Can it be removed?
Hi, Maybe I left some traces in the past but I don't see this output on the latest revision Could you update the trunk and let me know on which revision you are getting this? Best, Vicente
participants (2)
-
Nathan Ridge
-
Vicente J. Botet Escriba