repo.or.cz
/
cmus.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
build system: Don't use ${#var} etc.
[cmus.git]
/
locking.h
blob
23b06c705a42d9f0d790ec5b09a05361d93d3ff7
1
#ifndef _LOCKING_H
2
#define _LOCKING_H
3
4
#include <pthread.h>
5
6
#define CMUS_MUTEX_INITIALIZER PTHREAD_MUTEX_INITIALIZER
7
8
void
cmus_mutex_lock
(
pthread_mutex_t
*
mutex
);
9
void
cmus_mutex_unlock
(
pthread_mutex_t
*
mutex
);
10
11
#endif