From c26059ea2689f5331f9820caf92a8a52a5006bfc Mon Sep 17 00:00:00 2001 From: Rainer Gerhards Date: Fri, 21 Dec 2007 16:25:55 +0000 Subject: removed code no longer needed --- threads.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'threads.c') diff --git a/threads.c b/threads.c index ea79c380..ea0fb19b 100644 --- a/threads.c +++ b/threads.c @@ -253,7 +253,7 @@ thrdSleep(thrdInfo_t *pThis, int iSeconds, int iuSeconds) /* there may be a race condition if pthread_kill() is called after unblock but * before the select() is setup. TODO: check and re-eval -- rgerhards, 2007-12-20 */ - select(0, NULL, NULL, NULL, &tvSelectTimeout); + select(1, NULL, NULL, NULL, &tvSelectTimeout); if(pThis->bShallStop) iRet = RS_RET_TERMINATE_NOW; else -- cgit