Lines Matching defs:destructor
131 pthread_key_create(pthread_key_t *key, void (*destructor)(void *))
136 return __libc_thr_keycreate_stub(key, destructor);
142 * The condition for an available slot is one with the destructor
143 * not being NULL. If the desired destructor is NULL we set it to
144 * our own internal destructor to satisfy the non NULL condition.
170 pthread__tsd_destructors[i] = destructor ? destructor : null_destructor;
265 * destructor.
296 * We don't call the destructor here, it is the responsibility
330 void (*destructor)(void *);
338 * key to NULL before calling that key's destructor (passing
346 * thread-specific data value before calling the destructor"
352 * destructor function to change the value to NULL. This would
375 destructor = pthread__tsd_destructors[i];
377 destructor = NULL;
380 if (destructor != NULL && val != NULL) {
382 (*destructor)(val);