PTHREAD_IS_THREADED_NP(3)

NAME
pthread_is_threaded_np - identify threaded mode

LIBRARY
libpthread

SYNOPSIS
#include <pthread.h>
#include <pthread_np.h>
int
pthread_is_threaded_np(void);

DESCRIPTION
The pthread_is_threaded_np() function is used to identify if an application is running in multi-threaded mode.

RETURN VALUES
The pthread_is_threaded_np() returns 1 if the application might be running in multi-threaded mode, 0 if the application is definitely running in single-threaded mode.

SEE ALSO
pthread_create(3)