Multiple threads possible if each uses own mg_mgr? #1527
Answered
by
cpq
numo68
asked this question in
Ask questions, get answers
-
The 6.x versions stated in
The 7.x drops this and instead states the following in the documentation
For some existing projects usages this is a major difference and it is not always possible to have one manager (thread) to rule them all. So, was this change
Thanks |
Beta Was this translation helpful? Give feedback.
Answered by
cpq
Apr 19, 2022
Replies: 1 comment
-
Since recent changes, no global data is shared.
The 6.x version used |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
cpq
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Since recent changes, no global data is shared.
It is possible to have many threads with the
mg_mgr
in each. Answering your questions,mg_mgr
The 6.x version used
mg_broadcast()
function for inter-thread comms. In 7.x, there is a mg_mkpipe / mg_mgr_wakeupcombo