fix: ChannelAdaptor disconnect lock now a new Object. Fixes #585#586
fix: ChannelAdaptor disconnect lock now a new Object. Fixes #585#586
Conversation
|
Doig so e git archeology, it used to be a generic private Object but was changed into TRUE The explanation in the commits mentions that the Object would complicate using a persistent space such as JESpace (not much explanation as to how.. serialization of a ChannelAdaptor? and the comment itself shows some doubts about the usefulness) I agree that the boolean is troublesome… maybe a string object would be the best of both worlds? |
|
Good find! Still I'm not sure the intention was to share the lock over a space (and it wouldn't really make sense if serialized over the wire). Seems like the intention was to simply use a boolean for the space signaling and the lock was included under a overly broad replace. |
|
It seems that the |
|
Sure, they are pretty much equivalent in this case with the added benefit of being Loom proof should the sender or receiver become green threads in the future. |
No description provided.