Boost logo

Boost :

From: Drazen DOTLIC (Drazen.Dotlic_at_[hidden])
Date: 2003-12-12 13:03:39


> Dear boosters,
>
> We have a problem when trying to launch a boost thread from a
> Windows DLL.
>
> If we modify the code to have it all in the main program, it works as
> intended, but here, when the trhead is launched from the DLL,
> creating
> the thread object hangs.

I did not look into your code, but I can share my experience with
boost::thread on Windows, launched from a DLL - works like a charm, no
problems whatsoever.

Check that you are building ALL your modules (EXE, DLL) with the same
set of settings, AND that you use same those settings when building
boost::thread DLL itself.

HTH,

Drazen


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk