Lines Matching refs:destructor
15 // pointer to the destructor for each slot. We keep this array of pointers in a
29 // instance of ThreadLocalStorage::Slot has been freed (i.e., destructor called,
41 // An array of destructor function pointers for the slots. If a slot has a
42 // destructor, it will be stored in its corresponding entry in this array.
44 // to potentially call the destructor, it does so once, and that value is tested
48 // (i.e., null out the destructor entry) that happens on a separate thread can't
117 // terminates, one of the destructor calls we make may be to shut down an
120 // the allocator and cause it to resurrect itself (with no possibly destructor
138 // destructor call. That user was able to function, and define a slot with
150 base::ThreadLocalStorage::TLSDestructorFunc destructor =
152 if (destructor == NULL)
155 destructor(tls_value);
156 // Any destructor might have called a different service, which then set
197 ThreadLocalStorage::Slot::Slot(TLSDestructorFunc destructor) {
200 Initialize(destructor);
203 void ThreadLocalStorage::StaticSlot::Initialize(TLSDestructorFunc destructor) {
215 // Setup our destructor.
216 g_tls_destructors[slot_] = destructor;
222 // So all we need to do is wipe the destructor.