summaryrefslogtreecommitdiff
path: root/sys/ddb/db_watch.h
diff options
context:
space:
mode:
authorOwain Ainsworth <oga@cvs.openbsd.org>2010-08-12 15:04:01 +0000
committerOwain Ainsworth <oga@cvs.openbsd.org>2010-08-12 15:04:01 +0000
commit40ad5e5f1bda27bfeb7bfdad8f6678d2a3dac781 (patch)
tree7ec7e7372217fa6522f526fee7d6f3d957525274 /sys/ddb/db_watch.h
parentefcc9540fb5c0cb70f9a83b72d2a388401581f71 (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