Logo Search packages:      
Sourcecode: cmus version File versions  Download package

locking.h
#ifndef _LOCKING_H
#define _LOCKING_H

#include <pthread.h>

#define CMUS_MUTEX_INITIALIZER PTHREAD_MUTEX_INITIALIZER
#define CMUS_COND_INITIALIZER PTHREAD_COND_INITIALIZER

void cmus_mutex_lock(pthread_mutex_t *mutex);
void cmus_mutex_unlock(pthread_mutex_t *mutex);

#endif

Generated by  Doxygen 1.6.0   Back to index