summaryrefslogtreecommitdiffstats
path: root/usr.bin/ssh/channels.h
diff options
context:
space:
mode:
authorbeck <beck@openbsd.org>2010-01-11 00:14:52 +0000
committerbeck <beck@openbsd.org>2010-01-11 00:14:52 +0000
commit133f9f6d13d90f6a0e3b78a6473a92632cd2c8db (patch)
tree39069a9bfab43a22b88a90e884b2eeafcc371e1d /usr.bin/ssh/channels.h
parentDon't check ITSDONE since we know it is set in scsi_done(). Eliminates (diff)
downloadwireguard-openbsd-133f9f6d13d90f6a0e3b78a6473a92632cd2c8db.tar.xz
wireguard-openbsd-133f9f6d13d90f6a0e3b78a6473a92632cd2c8db.zip
Add mutex around work consuming loop in sdstart - this ensures that only
one thread will be grabbing xs's at a time and dequeuing work, but avoids a race between notification there is work to do and exiting the loop releasing the xs's. Fixes problem noticed by claudio where usb disks would hang with the new minty dlg midlayer. ok krw@, dlg@, tested by claudio@
Diffstat (limited to 'usr.bin/ssh/channels.h')
0 files changed, 0 insertions, 0 deletions