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 vc.net.

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;
> }

Jens


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