From 59b67824d6ada9e224beef8ec9a6e6e566e1fcf8 Mon Sep 17 00:00:00 2001 From: Rainer Gerhards Date: Mon, 28 Jan 2008 10:48:51 +0000 Subject: some more testing and cleanup with the queue class (pretty stable now) --- srUtils.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'srUtils.c') diff --git a/srUtils.c b/srUtils.c index 9724190a..e15456a4 100755 --- a/srUtils.c +++ b/srUtils.c @@ -344,14 +344,14 @@ timeoutVal(struct timespec *pt) assert(pt != NULL); /* compute timeout */ clock_gettime(CLOCK_REALTIME, &t); -RUNLOG_VAR("%ld", pt->tv_sec); -RUNLOG_VAR("%ld", t.tv_sec); -RUNLOG_VAR("%ld", pt->tv_nsec); -RUNLOG_VAR("%ld", t.tv_nsec); +//RUNLOG_VAR("%ld", pt->tv_sec); +//RUNLOG_VAR("%ld", t.tv_sec); +//RUNLOG_VAR("%ld", pt->tv_nsec); +//RUNLOG_VAR("%ld", t.tv_nsec); iTimeout = (pt->tv_nsec - t.tv_nsec) / 1000000; -RUNLOG_VAR("%ld", iTimeout); +//RUNLOG_VAR("%ld", iTimeout); iTimeout += (pt->tv_sec - t.tv_sec) * 1000; -RUNLOG_VAR("%ld", iTimeout); +//RUNLOG_VAR("%ld", iTimeout); if(iTimeout < 0) iTimeout = 0; -- cgit v1.2.3