diff options
author | Owain Ainsworth <oga@cvs.openbsd.org> | 2010-08-12 15:04:01 +0000 |
---|---|---|
committer | Owain Ainsworth <oga@cvs.openbsd.org> | 2010-08-12 15:04:01 +0000 |
commit | 40ad5e5f1bda27bfeb7bfdad8f6678d2a3dac781 (patch) | |
tree | 7ec7e7372217fa6522f526fee7d6f3d957525274 /sys/ddb/db_watch.h | |
parent | efcc9540fb5c0cb70f9a83b72d2a388401581f71 (diff) |
Instead of returning EBUSY when the busy flag is set in the ioctl, sleep
until whoever has it is done with it.
This is kept as flag/sleep condvars instead of a rwlock because later we
may want to quiesce the handler before suspend to make sure nothing is
sleeping on a chip that is about to be whacked (doing so will change the
proc so rwlocks won't work).
ok damien@
Diffstat (limited to 'sys/ddb/db_watch.h')
0 files changed, 0 insertions, 0 deletions