]> git.tuebingen.mpg.de Git - paraslash.git/commit
sched: Use (0,0) as the timeval for a minimal delay.
authorAndre Noll <maan@systemlinux.org>
Thu, 21 Jul 2011 17:18:41 +0000 (19:18 +0200)
committerAndre Noll <maan@systemlinux.org>
Sat, 30 Jul 2011 18:27:55 +0000 (20:27 +0200)
commit37ae4ca0d9fb24ee2a35ac3786bcd3d8a6272535
tree7e5621472de5aae4e95ac1f5bcd1b4b60304b714
parente10dea61fed5a67e111a641741f502765077ad7d
sched: Use (0,0) as the timeval for a minimal delay.

The select(2) man page says:

If both fields of the timeval structure are zero,
then select() returns immediately.

This is exactly what is desired for sched_min_delay().
sched.c