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?
> 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. - http://redshift-software.com -- rrivera/acm.org - grafik/redshift-software.com - 102708583/icq
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