RTEMS  5.0.0
Functions | Variables
keycreate.c File Reference

Thread-Specific Data Key Create. More...

#include <rtems/posix/keyimpl.h>
#include <rtems/score/userextimpl.h>
#include <rtems/score/wkspace.h>
#include <rtems/sysinit.h>
#include <errno.h>

Functions

int pthread_key_create (pthread_key_t *key, void(*destructor)(void *))
 
POSIX_Keys_Key_value_pair_POSIX_Keys_Key_value_allocate (void)
 
 RTEMS_SYSINIT_ITEM (_POSIX_Keys_Manager_initialization, RTEMS_SYSINIT_POSIX_KEYS, RTEMS_SYSINIT_ORDER_MIDDLE)
 

Variables

Freechain_Control _POSIX_Keys_Keypool
 This freechain is used as a memory pool for POSIX_Keys_Key_value_pair.
 

Detailed Description

Thread-Specific Data Key Create.

Function Documentation

◆ pthread_key_create()

int pthread_key_create ( pthread_key_t *  key,
void(*)(void *)  destructor 
)

17.1.1 Thread-Specific Data Key Create, P1003.1c/Draft 10, p. 163