Boost logo

Boost :

Subject: Re: [boost] boost thread slow with only one thread
From: Sohail Somani (sohail_at_[hidden])
Date: 2010-05-20 11:58:57

On 5/20/2010 10:49 AM, vicente.botet wrote:
>> forces_threads.create_thread(boost::bind(&ElasticRods::computeBendingForces,this,edges,kb,edges_initial));

You're probably copying a large object here. Use boost::ref() for
objects you don't want to copy.

Boost list run by bdawes at, gregod at, cpdaniel at, john at