Boost logo

Boost Users :

From: Jens Theisen (jth01_at_[hidden])
Date: 2006-01-21 10:59:00

monade wrote:

> Is it that good? Even for this simple sample there are memory leaks
> under

Maybe you tell us what exactly is leaking?

Your code seem to suggest that join throws something (or why did you do
unsafe dynamic allocation?), although that's not the case.

> void doNothing() {}
> int main()
> {
> boost::thread* thrd = new boost::thread( &doNothing );
> thrd->join();
> delete thrd;
> return 0;
> }


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