Fixed a bug in wait condition

parent 8e61f596
......@@ -177,7 +177,6 @@ bool Cond::wait(double timeout)
{
struct timeval now;
struct timespec waitTimeout;
int retcode = 0;
gettimeofday(&now,NULL);
waitTimeout.tv_sec = now.tv_sec + long(timeout);
waitTimeout.tv_nsec = (now.tv_usec * 1000) +
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment