transitions icon indicating copy to clipboard operation
transitions copied to clipboard

Is it normal to have a bunch of warnings of "event doesn't exist" for parallel machines (with disjoint event sets)?

Open enjoysmath opened this issue 2 months ago • 1 comments

Hi,

In the parallel example of transitions-gui, if you send model.event_on_A() and only model/machine A has the event, but the two machines are running in parallel, then a warning will be issued that B doesn't have any events from its current node that match "event_on_A". So just wondering if that is normal state of affairs, and I simply set logging level to ERROR-only.

I was unable to host the parallel machines on separate threads myself because of always getting that an event loop doesn't exist on my created thread, and was unable to SO-fix it. So the parallel + nested is the way to go for modeling the "whole system" or at least those parts we want expressed in FSM form. Therefore, the whole event queue internal of the Machine is shared among all the parallel processes.

Thanks.

EnjoysMath

enjoysmath avatar Apr 25 '24 02:04 enjoysmath