File: log_pthread.h

package info (click to toggle)
multipath-tools 0.13.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 3,992 kB
  • sloc: ansic: 63,788; perl: 1,622; makefile: 729; sh: 647; pascal: 150
file content (12 lines) | stat: -rw-r--r-- 319 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
#ifndef LOG_PTHREAD_H_INCLUDED
#define LOG_PTHREAD_H_INCLUDED

#include <pthread.h>

void log_safe(int prio, const char * fmt, va_list ap)
	__attribute__((format(printf, 2, 0)));
void log_thread_start(pthread_attr_t *attr);
void log_thread_reset (void);
void log_thread_stop(void);

#endif /* LOG_PTHREAD_H_INCLUDED */