Closed romainreuillon closed 11 years ago
The status can't change and the error cannot be signaled if all the methods are synchronized. To avoid dead lock wait methods have been unsynchronized.
The wait for start method has been refactored for better readability.
Any update on this merge?
Patch looks good to me. Merging.
Sorry for the delay, I'm getting distracted by other projects (plus the extensive holiday break at the university).
The implementation of the method does'nt take into account the case when an error occurs. The consequence is that after a while I get several threads blocked in this state: java.lang.Thread.State: WAITING (on object monitor) at java.lang.Object.wait(Native Method) at java.lang.Object.wait(Object.java:503) at org.globus.ftp.vanilla.TransferState.waitForEnd(TransferState.java:85)
This patch should fix it.