Boost logo

Boost Users :

From: Peter Dimov (pdimov_at_[hidden])
Date: 2003-07-02 06:59:44


Russell Hind wrote:
> Peter Dimov wrote:
>>
>> Is it possible that your program is using the multithreaded runtime
>> but the filesystem library has been compiled as single threaded, or
>> vice versa?
>
> Certainly with Borland win32 builds, all libraries (bar thread
> obviously) default to single threaded. I've had to build all
> libraries as the multi-threaded version.
>
> Dead-lock was the result I saw because of waiting on the spin-lock in
> a shared_ptr (app was multi-threaded, signals library was single
> threaded in my case)

This proved to be a common problem with the 1.30.0 release as now more
libraries require a build step. I've now updated shared_ptr in the CVS to be
binary compatible on Win32 regardless of the threading settings used.


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