Boost logo

Boost Users :

Subject: Re: [Boost-users] Compiler wants to link to threading library all of a sudden
From: Crispin Cooper (cooperch_at_[hidden])
Date: 2012-02-08 08:54:03


On 07/02/2012 15:56, Lars Viklund wrote:
> I would reckon that shared_ptr most probably has some thread safety
> primitives, and the other types might have internal mutexes as well.
I just tested shared_ptr on its own - it doesn't try to link.

Is this something that is changing with the previous or current
release? Won't additional locks cause overheads, and is there a global
#define I can set to disable them?

Crispin

-- 
Dr Crispin Cooper
Sustainable Places Research Institute
Cardiff University

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