summaryrefslogtreecommitdiff
path: root/mutex_helpers.h
blob: 0cdc7b6cf897717df989e29ba613f06d8babee5b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#ifndef _nebula2_mutex_helpers_h_
#define _nebula2_mutex_helpers_h_

#include <pthread.h>

/* Creating a locked mutex */
extern pthread_mutex_t* mutex_create();

/* Destroy a mutex created by mutex_create */
extern void mutex_destroy(pthread_mutex_t* mu);

#endif