diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2008-01-25 10:45:25 +0000 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2008-01-25 10:45:25 +0000 |
commit | 167abdb5b3fa6900edd6bbdb1cc7d586896a268c (patch) | |
tree | bed714a9789bd3f7bd2c86039dfdd4196471b85a /srUtils.h | |
parent | 5c686c8adcc473cbdbb14e4b2d736f9123210ee6 (diff) | |
download | rsyslog-167abdb5b3fa6900edd6bbdb1cc7d586896a268c.tar.gz rsyslog-167abdb5b3fa6900edd6bbdb1cc7d586896a268c.tar.xz rsyslog-167abdb5b3fa6900edd6bbdb1cc7d586896a268c.zip |
restructured queue shutdown so that the queue timeout is properly applied
before terminatiing the queue
Diffstat (limited to 'srUtils.h')
-rwxr-xr-x | srUtils.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -66,7 +66,8 @@ void skipWhiteSpace(uchar **pp); rsRetVal genFileName(uchar **ppName, uchar *pDirName, size_t lenDirName, uchar *pFName, size_t lenFName, long lNum, int lNumDigits); int getNumberDigits(long lNum); -rsRetVal timeoutComp(struct timespec *pt, int iTimeout); +rsRetVal timeoutComp(struct timespec *pt, long iTimeout); +long timeoutVal(struct timespec *pt); void mutexCancelCleanup(void *arg); /* mutex operations */ |