RE: Re: [Boost-Users] Re: building threads lib with latest from C VS
11 Feb
2003
11 Feb
'03
10:50 p.m.
From: Mark Storer
The MS APIs do not give you any means with which to cleanup data allocated to TLS, and they recommend you add this in DllMain.
What can you do in DllMain that you can't do with atexit, or some Loki-like priority singleton system?
Handle destruction of TLS data _at thread termination_. The atexit approach would only clean up the data at program termination, which isn't good enough. From what I recall of Loki, it won't apply here either. William E. Kempf wekempf@cox.net
7947
Age (days ago)
7947
Last active (days ago)
0 comments
1 participants
participants (1)
-
William E. Kempf