Use nowake when poll/select has empty fd set
authorvisa <visa@openbsd.org>
Tue, 16 Nov 2021 13:48:23 +0000 (13:48 +0000)
committervisa <visa@openbsd.org>
Tue, 16 Nov 2021 13:48:23 +0000 (13:48 +0000)
commitebddda04e0f37e9ca553a381667094b050e637d1
tree5d3f3e5cc4baacf81ac162a5e0eb49beaecd6836
parentb92d7058247bf0162ebc549aac34f849302f1dd5
Use nowake when poll/select has empty fd set

When the fd set is empty, the code waits for a signal or timeout.
Wakeups from the kqueue are neither expected nor wanted.

OK cheloha@, millert@, anton@, mpi@
sys/kern/sys_generic.c