Home | History | Annotate | Download | only in threading

Lines Matching defs:Slot

15 // pointer to the destructor for each slot. We keep this array of pointers in a
17 // We use the single OS-level TLS slot (giving us one pointer per thread) to
27 // assigned to the instance variable slot_ in a ThreadLocalStorage::Slot
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
69 // another TLS slot.
137 // Try to destroy the first-created-slot (which is slot 1) in our last
138 // destructor call. That user was able to function, and define a slot with
145 for (int slot = last_used_tls_key; slot > 0; --slot) {
146 void* tls_value = stack_allocated_tls_data[slot];
151 g_tls_destructors[slot];
154 stack_allocated_tls_data[slot] = NULL; // pre-clear the slot.
157 // a different slot to a non-NULL value. Hence we need to check
197 ThreadLocalStorage::Slot::Slot(TLSDestructorFunc destructor) {
210 // Grab a new slot.