RTEMS 6.3
Loading...
Searching...
No Matches
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(* destructor )(void *) )

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