From 167abdb5b3fa6900edd6bbdb1cc7d586896a268c Mon Sep 17 00:00:00 2001 From: Rainer Gerhards Date: Fri, 25 Jan 2008 10:45:25 +0000 Subject: restructured queue shutdown so that the queue timeout is properly applied before terminatiing the queue --- srUtils.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'srUtils.h') diff --git a/srUtils.h b/srUtils.h index 66af63d1..d0d34f37 100755 --- a/srUtils.h +++ b/srUtils.h @@ -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 */ -- cgit