4 Feb
2009
4 Feb
'09
4:22 p.m.
Anthony Williams
The problem is that the static boost thread library tries to hook the native win32 PE TLS callbacks in order to ensure that the thread-local data used by boost thread is cleaned up correctly. This is not compatible with a C++/CLI executable.
So the auto-link feature should be switched off in C++/CLI, right?
Your workaround explicitly omits the automatic TLS cleanup (and declares that you're doing it yourself by calling on_thread_exit at the appropriate time).
I am lost here. Could you eventually provide some Good (TM) workaround and advice for this? regards, Markus