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


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
                                               


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