Boost logo

Boost Users :

From: Rene Rivera (grafik.list_at_[hidden])
Date: 2004-06-11 10:19:23

Ben Hutchings wrote:
> Tristan King <tristanking_at_[hidden]> wrote:
>>I'm having trouble getting shared_ptr objects and threads to work in
>>can anyone give me any pointers on how to get around this problem?
> <snip>
> I suggest you create your thread objects with 'new' instead, or
> else define an array of them outside the loop.

Or just don't use boost:ref, and have the thread function objects copied.

-- Grafik - Don't Assume Anything
-- Redshift Software, Inc. -
-- rrivera/ - grafik/ - 102708583/icq

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