HomeFreeBSD

The aio_waitcomplete(2) syscall should not sleep when the given timeout

Description

The aio_waitcomplete(2) syscall should not sleep when the given timeout
is 0. Without this change it was sleeping for one tick. Maybe not a big
deal, but it makes share/dtrace/blocking script to report that.

Reviewed by: jhb
Differential Revision: https://reviews.freebsd.org/D3814
Sponsored by: Wheel Systems, http://wheelsystems.com

Details

Provenance
pjdAuthored on
Reviewer
jhb
Parents
rS289940: pf: Fix compliation warning with gcc
Branches
Unknown
Tags
Unknown