23 Nov
2001
23 Nov
'01
3:19 p.m.
From:
How can I pass data to a thread ? Why does the boost::thread's constructor takes a boost::function0<void> as parameter, instead of a boost::function1<void> which would have allowed to pass it a pointer to a thread safe structure ?
Use boost::bind(threadproc, args). -- Peter Dimov Multi Media Ltd.