Home
last modified time | relevance | path

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

/mirbsd/src/lib/libpthread/uthread/
Duthread_spec.c44 static struct pthread_key key_table[PTHREAD_KEYS_MAX];
49 for ((*key) = 0; (*key) < PTHREAD_KEYS_MAX; (*key)++) { in pthread_key_create()
73 if (key < PTHREAD_KEYS_MAX) { in pthread_key_delete()
99 for (key = 0; key < PTHREAD_KEYS_MAX; key++) { in _thread_cleanupspecific()
138 if ((new_data = (const void **) malloc(sizeof(void *) * PTHREAD_KEYS_MAX)) != NULL) { in pthread_key_allocate_data()
139 memset((void *) new_data, 0, sizeof(void *) * PTHREAD_KEYS_MAX); in pthread_key_allocate_data()
155 if (key < PTHREAD_KEYS_MAX) { in pthread_setspecific()
185 if (pthread->specific_data != NULL && key < PTHREAD_KEYS_MAX) { in pthread_getspecific()
/mirbsd/src/lib/libpthread/include/
Dpthread.h59 #define PTHREAD_KEYS_MAX 256 macro