
28 Jul
2004
28 Jul
'04
6:56 a.m.
Roland wrote:
You are relying on the fact that the c-runtime (with respect to this very thread) is still in a sane state! In fact it might not since the runtimes own detach functions already have been called at this time. (Happens within _endthread).
I saw your post and I think that's strong point *against* using thread local storage (as delivered by runtime and OS), and replace it with some structure. B.