Hi Erdem,
I'm afraid you aren't going to be able to share memory between actors
reliably.
Fundamentally the Actor model itself does not support shared resources
and all data must be exchanged via messages.
Specific to Thespian, multi-process based systems (e.g.
multiprocTCPBase) run each actor as a separate system process, so the
process boundaries will prevent sharing memory in this manner. It
would work for the simpleSystemBase, which runs in a single process
(sacrificing any concurrency), but that is a violation of the actor
boundaries and would also prevent changing the system base as well.
Regards,
Kevin
> --
> You received this message because you are subscribed to the Google Groups "thespian.py" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to
thespianpy+...@googlegroups.com.
> To view this discussion on the web visit
https://groups.google.com/d/msgid/thespianpy/33900fdb-96d3-4b29-a89a-722eef9829e7n%40googlegroups.com.
--
-KQ