#include <oskit/threads/pthread.h>int pthread_key_delete(pthread_ket_t *key);
Delete the thread-specific key. Attempts to use a key via pthread_setspecific or pthread_getspecific after it has been deleted is undefined.
- key
- The key that should be deleted.
Returns zero on success. Returns EINVAL if key refers to an invalid key.
pthread_key_create, pthread_setspecific, pthread_getspecific