Home | History | Annotate | Download | only in threading

Lines Matching defs:destructor

14 // pointers to the destructor for each TLS that we allocate.
27 // instance of ThreadLocalStorage::Slot has been freed (i.e., destructor called,
39 // An array of destructor function pointers for the slots. If a slot has a
40 // destructor, it will be stored in its corresponding entry in this array.
42 // to potentially call the destructor, it does so once, and that value is tested
46 // (i.e., null out the destructor entry) that happens on a separate thread can't
101 // terminates, one of the destructor calls we make may be to shut down an
104 // the allocator and cause it to resurrect itself (with no possibly destructor
120 // destructor call. That user was able to function, and define a slot with
129 base::ThreadLocalStorage::TLSDestructorFunc destructor =
131 if (destructor == NULL)
134 destructor(value);
135 // Any destructor might have called a different service, which then set
154 ThreadLocalStorage::Slot::Slot(TLSDestructorFunc destructor) {
157 Initialize(destructor);
160 bool ThreadLocalStorage::StaticSlot::Initialize(TLSDestructorFunc destructor) {
172 // Setup our destructor.
173 g_tls_destructors[slot_] = destructor;
180 // So all we need to do is wipe the destructor.
209 // Windows doesn't support a per-thread destructor with its