RTEMS  5.0.0
Functions
pthreadconcurrency.c File Reference

Pthread Get/Set ConcurrencyPer the Open Group specification, when user pthreads are mapped 1:1 onto kernel threads, the implementation simply tracks an internal variable whose initial value is 0. If it is set, subsequent calls to obtain the value return that previously set. More...

#include <pthread.h>
#include <errno.h>

Functions

int pthread_getconcurrency (void)
 
int pthread_setconcurrency (int new_level)
 

Detailed Description

Pthread Get/Set Concurrency

Per the Open Group specification, when user pthreads are mapped 1:1 onto kernel threads, the implementation simply tracks an internal variable whose initial value is 0. If it is set, subsequent calls to obtain the value return that previously set.