Home | History | Annotate | Download | only in threading

Lines Matching refs:Slot

26 // unallocated TLS slot.
30 // a slot has a destructor, it will be stored in its corresponding
59 ThreadLocalStorage::Slot::Slot(TLSDestructorFunc destructor)
65 bool ThreadLocalStorage::Slot::Initialize(TLSDestructorFunc destructor) {
69 // Grab a new slot.
82 void ThreadLocalStorage::Slot::Free() {
89 void* ThreadLocalStorage::Slot::Get() const {
97 void ThreadLocalStorage::Slot::Set(void* value) {
115 for (int slot = 0; slot < tls_max_; slot++) {
116 if (tls_destructors_[slot] != NULL) {
117 void* value = tls_data[slot];
118 tls_destructors_[slot](value);