tsleep() and EWOULDBLOCK was being used incorrectly for fixed minumum
authorderaadt <deraadt@openbsd.org>
Tue, 20 Jul 2010 12:12:19 +0000 (12:12 +0000)
committerderaadt <deraadt@openbsd.org>
Tue, 20 Jul 2010 12:12:19 +0000 (12:12 +0000)
commit78ac519a498ddeaa7fc3934ccfeb5fbec3fe5450
tree4175dda31f71cf93f3f61a5ef21644486650e345
parent28e3ab9389966131563cf538216da6c4157cc9fa
tsleep() and EWOULDBLOCK was being used incorrectly for fixed minumum
delays.  tsleep() on an unknown wait channel, to ensure the minimum is
met, and that wakeup()'s don't make the delay get restarted over and
over..
ok kettenis mlarkin
sys/dev/acpi/acpitz.c
sys/dev/acpi/acpivar.h
sys/dev/acpi/dsdt.c