Boost logo

Boost Users :

From: Peter Dimov (pdimov_at_[hidden])
Date: 2007-01-21 16:30:05


Sohail Somani wrote:

> I ran the OPs tests and I agree with your statement, except that it
> *does* depend on the number of threads. If I created two threads -> I
> got two leaks.

Try joining the first thread before creating a second one; it's likely that
the block will be reused by libpthread (something that can't happen with a
leak).


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