MDAEngine threading mechanism #397
-
As mentioned #395, I had another question: is there a specific thread infrastructure in the |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 5 replies
-
as far as the existing MDAEngine that drives the CMMCore object, threading issues work like this:
|
Beta Was this translation helpful? Give feedback.
-
I'm not entirely sure what you're picturing here, but I think it's safe to say "no". Can you clarify what you're picturing? |
Beta Was this translation helpful? Give feedback.
as far as the existing MDAEngine that drives the CMMCore object, threading issues work like this:
pymmcore_pus.mda.MDAEngine
is also single threaded and fully synchronous (on the python side)MDAEngine
into the C++ code may indeed result in threaded behavior. In my opinion, this is actually a big bonus of usingCMMCore
. It's all implemented at a pretty low/performant level, so many of the synchronous calls we make from the python/pymmcore side of things will result in c…