Replies: 1 comment 7 replies
-
|
Yeah, so I think that our current implementation does not handle well concurrent use of the node. Could you try to add lock mutex: from threading import Thread, Lock
mutex_lock = Lock()
# ...
with mutex_lock:
node.send_output("instruction", instruction_array)
# ...
with mutex_lock:
evt = node.next(timeout=FPS)I'm not exactly sure why this is happening but this should fix the issue. |
Beta Was this translation helpful? Give feedback.
7 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi all,
I'm trying to add an interactive and realtime visualisation node in my graph. I end up having the following events handlers in the GUI
The first one is to handle user action on the GUI and the second on to display a video stream on the GUI. The point is, the two handlers can work separatly but once I put them together I got some errors
I suspect dora doesn't like I use the same node object concurrently.
Any ideas ?
Beta Was this translation helpful? Give feedback.
All reactions