Boost logo

Boost Users :

Subject: [Boost-users] boost::thread within a dll
From: Matheus Araújo Aguiar (matheus.pit_at_[hidden])
Date: 2010-10-26 16:46:37


Hello list,

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?

Thank you all,

-- 
Matheus Araújo Aguiar
Computer Scientist
matheus.pit_at_[hidden]


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