diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2008-03-05 07:01:35 +0000 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2008-03-05 07:01:35 +0000 |
commit | 80e69562be86d149d753530a8a57c5babbb3f4c3 (patch) | |
tree | 021a608559e734833a7d23f03444fde66bf38076 /wtp.c | |
parent | 05ba3fbffeaa3142e917ea69e9e39209e893581a (diff) | |
download | rsyslog-80e69562be86d149d753530a8a57c5babbb3f4c3.tar.gz rsyslog-80e69562be86d149d753530a8a57c5babbb3f4c3.tar.bz2 rsyslog-80e69562be86d149d753530a8a57c5babbb3f4c3.zip |
did some portability changes to make rsyslog compile on HP UX
Diffstat (limited to 'wtp.c')
-rw-r--r-- | wtp.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -476,7 +476,9 @@ wtpStartWrkr(wtp_t *pThis, int bLockMutex) /* we try to give the starting worker a little boost. It won't help much as we still * hold the queue's mutex, but at least it has a chance to start on a single-CPU system. */ +# if !defined(__hpux) /* pthread_yield is missing there! */ pthread_yield(); +# endif /* indicate we just started a worker and would like to see it running */ wtpSetInactivityGuard(pThis, 1, MUTEX_ALREADY_LOCKED); |