diff options
| author | David Pursehouse <david.pursehouse@sonymobile.com> | 2013-09-10 19:05:37 +0900 |
|---|---|---|
| committer | David Pursehouse <david.pursehouse@sonymobile.com> | 2013-09-11 14:08:23 +0900 |
| commit | 46283a771c31324553ad820f010590edfea195ad (patch) | |
| tree | 7e524fa827f2f3df9d5b29147586e64a86c5e493 /example.py | |
| parent | 2270e25c800b3e7cd205df267698658efd417257 (diff) | |
| download | pygerrit-46283a771c31324553ad820f010590edfea195ad.tar.gz | |
Fix #2: Establish SSH connection in a thread-safe way
Use an Event(), rather than a boolean, to determine whether or not
the remote is connected.
Protect the connection logic with a Lock().
Change-Id: Ifc5888894a90b7e3a11e21ec3f9bf69f0a7608a8
Diffstat (limited to 'example.py')
0 files changed, 0 insertions, 0 deletions
