diff options
author | Robey Pointer <robey@lag.net> | 2005-02-28 07:16:22 +0000 |
---|---|---|
committer | Robey Pointer <robey@lag.net> | 2005-02-28 07:16:22 +0000 |
commit | 246f3d46a291cc186128ac84a8916f53d4e9effb (patch) | |
tree | 18b55923d919c18fc8b31a4ae0879d5a805b6288 /setup.py | |
parent | 4b8a9d3b7af4f80d3c4fc0d541c5425a063471a6 (diff) |
[project @ Arch-1:robey@lag.net--2003-public%secsh--dev--1.0--patch-151]
fix race in transport thread startup
set active=True from the methods that start the main transport thread, right
before actually starting the thread. this avoids a race where the main
thread could be started, but the original thread could wake up from the
event.wait(0.1) before the new thread actually set the transport active.
impossible, you say? no machines so slow exist? au contraire, my sad
little linux box faced this problem earlier today.
Diffstat (limited to 'setup.py')
0 files changed, 0 insertions, 0 deletions