Boost logo

Boost Users :

From: Rene Rivera (grafik.list_at_[hidden])
Date: 2006-01-21 10:44:32


monade wrote:
> Rob Lemley schrieb:
>
>> Highly recommended for cross-platform thread programming.
>> ...
>> Plus it's very well researched, thought-out, documented and has been
>> through the boost review process! Don't try it yourself at home, I
>> think you would not come up with anything better.
>
> Is it that good? Even for this simple sample there are memory leaks
> under vc.net.
>
> void doNothing() {}
> int main()
> {
> boost::thread* thrd = new boost::thread( &doNothing );
> thrd->join();
> delete thrd;
> return 0;
> }

Search the archives. There's a reason for that memory "leak".

-- 
-- Grafik - Don't Assume Anything
-- Redshift Software, Inc. - http://redshift-software.com
-- rrivera/acm.org - grafik/redshift-software.com
-- 102708583/icq - grafikrobot/aim - Grafik/jabber.org

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