projects
/
multipath-tools
/
.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
[libmultipath] move the async logger in libmultipath
[multipath-tools/.git]
/
libmultipath
/
log_pthread.h
1
#ifndef _LOG_PTHREAD_H
2
#define _LOG_PTHREAD_H
3
4
pthread_t log_thr;
5
6
pthread_mutex_t *logq_lock;
7
pthread_mutex_t *logev_lock;
8
pthread_cond_t *logev_cond;
9
10
void log_safe(int prio, char * fmt, va_list ap);
11
void log_thread_start(void);
12
void log_thread_stop(void);
13
14
#endif /* _LOG_PTHREAD_H */