xulman-obsoleteProjects / DAIS-wp1.3

Scijava/imglib2 images are pinged back and forth over a network...
1 stars 1 forks source link

Add timeout for the sender #5

Closed xulman closed 7 years ago

xulman commented 7 years ago

Push-pull zeromq model allows to send image even when the receiver is not ready/online. The sender just buffers the input data (the Img) and waits. The sending dialog closes in the meantime and there is currently now control to force the sending attempt to give up and quit (and loose/free the buffered data) -- mistaken/unsuccessful sending becomes a zombie thread. A timeout that would possibly kill the sending attempt after some time would be nice, would prevent from blocking memory too.

xulman commented 7 years ago

resolved in commit 03e863b6f142bc0edbd73f78cca217643cf2afa4