Thank you very much for taking the time to answer those questions, I didn't
know the situation was that compilcated! I guess I am still not sure what
prevents the following from working:
//User code
void ThreadProc(void)
{
...
}
boost::thread *pThread = new boost::thread(ThreadProc);
//And within the thread code
void InternalThreadProc(const boost::function<void> &func)
{
func();
//TLS cleanup
}
thread(const boost::function<void> &userFunc)
{
...
InternalThreadProc(userFunc);
}
Again, the code is rough, but I hope I am communicating clearly.
Thanks again,
David Brownell
_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost