From: Jean-Sebastien Stoezel (js.stoezel_at_[hidden])
Date: 2008-08-23 17:22:29


Hello,

How to pass arguments to a thread?

 From the documentation I thought I could do this:
mp_ProcessorListenerThread = new boost::thread(ProcessorListener, this);

However I get the following error:
'boost::thread::thread' : no overloaded function takes 2 arguments

Thanks,
Jean