sched: Use (0,0) as the timeval for a minimal delay.
[paraslash.git] / sched.c
diff --git a/sched.c b/sched.c
index 8baed4962d9e5dfbf2cad170b1c38d2d42b123b3..8648811d9f777a336864dbb7264db417ef648d73 100644 (file)
--- a/sched.c
+++ b/sched.c
@@ -258,8 +258,7 @@ char *get_task_list(void)
  */
 void sched_min_delay(struct sched *s)
 {
  */
 void sched_min_delay(struct sched *s)
 {
-       s->select_timeout.tv_sec = 0;
-       s->select_timeout.tv_usec = 1;
+       s->select_timeout.tv_sec = s->select_timeout.tv_usec = 0;
 }
 
 /**
 }
 
 /**