]> git.tue.mpg.de Git - paraslash.git/commit
client.c: supervisor task should use post_select instead of pre_select.
authorAndre Noll <maan@systemlinux.org>
Sun, 6 Apr 2008 10:50:29 +0000 (12:50 +0200)
committerAndre Noll <maan@systemlinux.org>
Sun, 6 Apr 2008 10:50:29 +0000 (12:50 +0200)
commitcd8aecdb81f2ffb1a6e34a866d6156f8c915a467
tree4280b94893e094ba5b536e04df51f8fd157993fc
parent3fd92b8735671b309fa775312b7cba1f6c7a6b32
client.c: supervisor task should use post_select instead of pre_select.

This allows to get rid of the ugly min_delay hack. This works
because the supervisor task is registered _after_ the client
task. So when the client task changes its state to either
CL_RECEIVING or CL_SENDING in its post_select function, the
supervisor task will start the stdin/stout task in the same
iteration of the scheduler post_select loop.
client.c