diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2011-01-10 12:54:21 +0100 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2011-01-10 12:54:21 +0100 |
commit | f7c20920046ebcb94eadadf1ebad97b634a12a2d (patch) | |
tree | 0cf704f462fa7394842beb3a496627915d863426 /runtime/rsyslog.h | |
parent | 58c486b36b27d30444b621876846052e239f8c50 (diff) | |
parent | 7742b2182fc017ca4c9fcfe3b26f4c8d68a9bd58 (diff) | |
download | rsyslog-f7c20920046ebcb94eadadf1ebad97b634a12a2d.tar.gz rsyslog-f7c20920046ebcb94eadadf1ebad97b634a12a2d.tar.xz rsyslog-f7c20920046ebcb94eadadf1ebad97b634a12a2d.zip |
Merge branch 'v5.6.2-newimudp' into v5-devel-newimudp
Conflicts:
plugins/imudp/imudp.c
threads.c
Diffstat (limited to 'runtime/rsyslog.h')
-rw-r--r-- | runtime/rsyslog.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/runtime/rsyslog.h b/runtime/rsyslog.h index b47ef82e..0402f159 100644 --- a/runtime/rsyslog.h +++ b/runtime/rsyslog.h @@ -25,6 +25,7 @@ */ #ifndef INCLUDED_RSYSLOG_H #define INCLUDED_RSYSLOG_H +#include <pthread.h> #include "typedefs.h" /* ############################################################# * @@ -415,6 +416,12 @@ typedef enum rsObjectID rsObjID; #define RSFREEOBJ(x) {(x)->OID = OIDrsFreed; free(x);} #endif +#ifdef HAVE_PTHREAD_SETSCHEDPARAM +extern struct sched_param default_sched_param; +extern pthread_attr_t default_thread_attr; +extern int default_thr_sched_policy; +#endif + /* for the time being, we do our own portability handling here. It * looks like autotools either does not yet support checks for it, or |