#include <pthread.h>
Go to the source code of this file.
Defines | |
| #define | PTHREAD_CTF_MAJOR 0 |
| ctf major version number | |
| #define | PTHREAD_CTF_MINOR 1 |
| ctf minor version number | |
| #define | PTHREAD_CTF_MICRO 0 |
| ctf micro version number | |
Functions | |
| int | pthread_get_nproc (int *number) |
| returns the number of on-line processors | |
| int | pthread_get_name (const pthread_t tid, char *buf, const size_t len) |
| returns a string representing the pthread_t | |
| int | pthread_version (char *buf, const size_t len) |
| returns the version of pthreads library | |
| int | pthread_ctf_version (char *buf, const size_t len) |
| returns the version of ctf library | |
| int pthread_ctf_version | ( | char * | buf, | |
| const size_t | len | |||
| ) |
returns the version of ctf library
| buf | pointer to a character array | |
| len | maximum length for buffer |
| int pthread_get_name | ( | const pthread_t | tid, | |
| char * | buf, | |||
| const size_t | len | |||
| ) |
returns a string representing the pthread_t
| tid | pthread_t ID [input] | |
| buf | pointer to a character array | |
| len | maximum length for buffer |
| int pthread_get_nproc | ( | int * | number | ) |
returns the number of on-line processors
| number | number of processors |
| int pthread_version | ( | char * | buf, | |
| const size_t | len | |||
| ) |
returns the version of pthreads library
| buf | pointer to a character array | |
| len | maximum length for buffer |
1.5.1