diff options
author | Robey Pointer <robey@lag.net> | 2004-05-17 07:41:50 +0000 |
---|---|---|
committer | Robey Pointer <robey@lag.net> | 2004-05-17 07:41:50 +0000 |
commit | ed77581d7a8a36af5a141d8bac41213aa9ef750a (patch) | |
tree | 21603ec0945c5d8996b4d30e59bd2901b900ac4e /setup.py | |
parent | 36a867a01767485106e91d8046314bd8f45331f8 (diff) |
[project @ Arch-1:robey@lag.net--2003-public%secsh--dev--1.0--patch-52]
fix deadlock in closing a channel
closing a channel would enter an odd codepath where the lock was grabbed,
some stuff was done, then another function was called where the lock was
grabbed again. unfortunately python locks aren't monitors so this would
deadlock. instead, make the smaller function lock-free with an explicit
notice that you must be holding the lock before calling.
Diffstat (limited to 'setup.py')
0 files changed, 0 insertions, 0 deletions