You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks @dobau I will check your example as soon as possible, as well as the best way to upload Java projects. I need to discuss whether to use gradle or anything else with @michele-loreti .
As for your question, the point is that Java and Go deal differently with termination of the main thread/routine: in Java the main thread waits for all pending (non-demon) threads, while in Go the main routine kills all other routines when it terminates.
So, in the examples in Go I sometimes use space.Query("stop") (or a similar blocking action) to prevent termination of the entire application. Sometimes this makes sense in the example, in some other cases it doesn't but I had no time to implement a protocol for termination detection.
Port to Java all go-based examples from the tutorial.
The text was updated successfully, but these errors were encountered: