summaryrefslogtreecommitdiff
path: root/lib/libmenu/m_spacing.c
diff options
context:
space:
mode:
authorJacob Meuser <jakemsr@cvs.openbsd.org>2011-02-10 17:26:41 +0000
committerJacob Meuser <jakemsr@cvs.openbsd.org>2011-02-10 17:26:41 +0000
commit1621b63b7d6f8b26cd58be84a18ca219b2ed981d (patch)
treeccba3ed33f31fc9a9271825dfb9db4429a97ea84 /lib/libmenu/m_spacing.c
parent4e1d65ab1712f28cf6116f4e6371b7d5ab89016d (diff)
now that usb_wait_task() is back, bring back recently reverted
changes: * use usb_ref_{incr,decr,wait}() to avoid detaching the driver while a process is still using the hardware. * don't add timeout(9)s if the device is detached. * add checks to see if the device has been detached before running ioctls, timeouts, and tasks. * use usb_wait_task() to wait for tasks to complete. ok damien@
Diffstat (limited to 'lib/libmenu/m_spacing.c')
0 files changed, 0 insertions, 0 deletions