Lines Matching defs:key
47 pthread_key_create (pthread_key_t * key, void (PTW32_CDECL *destructor) (void *))
51 * This function creates a thread-specific data key visible
53 * NULL for key until set using pthread_setspecific. When any
54 * thread with a non-NULL value for key terminates, 'destructor'
55 * is called with key's current value for that thread.
58 * key
63 * This function creates a thread-specific data key visible
65 * NULL for key until set using pthread_setspecific. When any
66 * thread with a non-NULL value for key terminates, 'destructor'
67 * is called with key's current value for that thread.
73 * ENOMEM insufficient memory to create the key,
85 else if ((newkey->key = TlsAlloc ()) == TLS_OUT_OF_INDEXES)
95 * Have to manage associations between thread and key;
97 * to gain exclusive access to the key->threads list.
105 *key = newkey;