sched.c: Add checks for empty lists.
authorAndre Noll <maan@systemlinux.org>
Mon, 31 Mar 2008 11:50:43 +0000 (13:50 +0200)
committerAndre Noll <maan@systemlinux.org>
Mon, 31 Mar 2008 11:50:43 +0000 (13:50 +0200)
commitb0ab39b0d25bd4cd13afd33a72026b78f9e2f660
tree55a082a1a93a8dd2b421fdc6724423af8379b61e
parent054c845e9ac8ee3ab920d91e468eedb7cb1105ba
sched.c: Add checks for empty lists.

This allows to call shed_shutdown() from the pre/post select hooks
of the tasks.
sched.c