Home
last modified time | relevance | path

Searched refs:tsd_destructor (Results 1 – 1 of 1) sorted by relevance

/illumos-gate/usr/src/uts/common/disp/
H A Dthread.c1586 static void (**tsd_destructor)(void *); variable
1625 if (tsd_destructor[i] == NULL) in tsd_create()
1634 tsd_destructor = in tsd_create()
1635 (void (**)(void *))tsd_realloc((void *)tsd_destructor, in tsd_create()
1644 tsd_destructor[i] = destructor; in tsd_create()
1688 if (tsd->ts_value[k] && tsd_destructor[k]) in tsd_destroy()
1689 (*tsd_destructor[k])(tsd->ts_value[k]); in tsd_destroy()
1698 tsd_destructor[k] = NULL; in tsd_destroy()
1846 if (tsd->ts_value[i] && tsd_destructor[i]) in tsd_exit()
1847 (*tsd_destructor[i])(tsd->ts_value[i]); in tsd_exit()