CNDP
22.08.0
|
Go to the source code of this file.
Functions | |
static int | cne_mutex_create (pthread_mutex_t *mutex, int flags) |
static int | cne_mutex_destroy (pthread_mutex_t *mutex) |
Routines to help create a mutex.
Definition in file cne_mutex_helper.h.
|
inlinestatic |
Helper routine to create a mutex with a specific type.
mutex | The pointer to the mutex to create. |
flags | The attribute flags used to create the mutex i.e. recursive attribute |
Definition at line 31 of file cne_mutex_helper.h.
|
inlinestatic |
Destroy a mutex
mutex | Pointer to mutex to destroy. |
Definition at line 78 of file cne_mutex_helper.h.