repo.or.cz
/
rofl0r-proxychains-ng.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
fix missing bracket in solaris codepath (#589)
[rofl0r-proxychains-ng.git]
/
src
/
mutex.h
blob
d41550e76726531b8567f86fd3b7f5decad41495
1
#ifndef MUTEX_H
2
#define MUTEX_H
3
4
#include <pthread.h>
5
# define MUTEX_LOCK(x) pthread_mutex_lock(x)
6
# define MUTEX_UNLOCK(x) pthread_mutex_unlock(x)
7
# define MUTEX_INIT(x) pthread_mutex_init(x, NULL)
8
# define MUTEX_DESTROY(x) pthread_mutex_destroy(x)
9
10
#endif