flac: Saner EOF handling
[cmus.git] / locking.h
blob23b06c705a42d9f0d790ec5b09a05361d93d3ff7
1 #ifndef _LOCKING_H
2 #define _LOCKING_H
4 #include <pthread.h>
6 #define CMUS_MUTEX_INITIALIZER PTHREAD_MUTEX_INITIALIZER
8 void cmus_mutex_lock(pthread_mutex_t *mutex);
9 void cmus_mutex_unlock(pthread_mutex_t *mutex);
11 #endif