$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
From: Loïc Joly (loic.actarus.joly_at_[hidden])
Date: 2003-12-12 16:48:37
JOLY Loic wrote:
> 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 kwon that boost::thread plays with DLL to implement TLS, and I
> wonder if this might create difficulties in our case ?
Thank you for all your fast answers. It just works when I call the
thread creation from another function that DllMain. My suspicion about
boost::thread was misplaced, and should have been focused on my
knowledge of DLL ;)
--
Loïc