Wednesday, November 30, 2016

C Thread Mutex Functions

Mutex Functions:
mtx_init(C11) int mtx_init( mtx_t* mutex, int type );
mtx_lock(C11) int mtx_lock( mtx_t* mutex );
mtx_timedlock(C11) int mtx_timedlock( mtx_t *restrict mutex, const struct timespec *restrict time_point );
mtx_trylock(C11) int mtx_trylock( mtx_t *mutex );
mtx_unlock(C11) int mtx_unlock( mtx_t *mutex );
mtx_destroy(C11) void mtx_destroy( mtx_t *mutex );

threads.h
Initialization Functions
Condition variable Functions
Mutex Functions
Thread Functions
Thread-specific storage Functions


Related topics:
Library Functions in C   |   Standard Library in C   |   Header Files in C   |   Functions in C   |   Keywords in C   |   Data Types in C   |   Pointers in C

List of topics: C Programming

No comments:

Post a Comment