File: locking.h

package info (click to toggle)
cmus 2.3.3-2
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 1,440 kB
  • ctags: 3,053
  • sloc: ansic: 25,337; sh: 1,111; makefile: 181; python: 26
file content (11 lines) | stat: -rw-r--r-- 221 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
#ifndef _LOCKING_H
#define _LOCKING_H

#include <pthread.h>

#define CMUS_MUTEX_INITIALIZER PTHREAD_MUTEX_INITIALIZER

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

#endif