Home | History | Annotate | Download | only in windows

Lines Matching refs:destr_fn

116 // When destr_fn eventually runs, it's supposed to take as its
119 // store the destr_fn/key pair in this data structure. Because we
121 // destr_fn in a program! That's enough in practice. If asserts
125 void (*destr_fn)(void*);
132 if (destr_fn_info.destr_fn) {
139 (*destr_fn_info.destr_fn)(ptr);
180 extern "C" pthread_key_t PthreadKeyCreate(void (*destr_fn)(void*)) {
182 // destr_fn with TlsGetValue(key) when the thread is destroyed
185 if (destr_fn) { // register it
187 assert(destr_fn_info.destr_fn == NULL);
188 destr_fn_info.destr_fn = destr_fn;