Boost logo

Boost Users :

Subject: [Boost-users] [thread] debug output when using futures/promises
From: Nathan Ridge (zeratul976_at_[hidden])
Date: 2012-03-07 19:21:54


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?


Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at