https://github.com/apache/mina-sshd/pull/102
This PR involves some changes to very crucial mutual exclusion and signalling locks so I would like to be sure that (a) nothing was missed and (b) no deadlocks were introduced (beyond what SSHD-911 and SSHD-912 seem to indicate) For those who want - you can clone https://github.com/lgoldstein/mina-sshd/tree/SSHD-912 to examine/run/play around with the suggested code Thanks.
