|
Boost Users : |
Subject: Re: [Boost-users] boost::thread within a dll
From: Igor R (boost.lists_at_[hidden])
Date: 2010-10-26 17:00:35
> I'm facing some problems with a dll that uses boost::thread, boost::mutex
> and boost::condition_variable. Currently i am clueless about what is causing
> the problem and wanted to know if it is ok to use boost::thread and the
> others aforementioned within a dll. Basically, in a singleton in the dll,
> some threads are created and consume tasks (wrapped with boost::bind) from a
> queue, using boost::mutex to avoid concurrency problems and
> boost::condition_variable to sleep and wake, depending on emptiness of the
> task queue. Sorry for the brief and rapid description of my problem.
> Could anyone point to me if using these might cause problems with dlls?
What problems? Did you mention any problem?
I'm using boost.thread within a COM dll and didn't encounter any problems.
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