commit | e9a7d0569f8c818950e132124bf67405dedc728f | [log] [tgz] |
---|---|---|
author | Colby Ranger <cranger@google.com> | Tue May 08 10:15:30 2012 -0700 |
committer | Colby Ranger <cranger@google.com> | Tue May 08 10:15:30 2012 -0700 |
tree | 9191cfaafb8c6878a8f3964552cc15b6e54ca03f | |
parent | e37fbfff749f63c4b6527ad83306b86049989c82 [diff] |
Improve synchronization in sshd DispatchCommand. The ssh commands have synchronization because destroy() can run in a different thread than start(). Simplify the DispatchCommand synchronization by using an AtomicReference. Change-Id: Ief57303f0f7215822584af746db0567b806612b0