Skip to content

Any reason why mg_mgr_poll might take forever to finish/freeze in 7.13? #3032

Discussion options

You must be logged in to vote

We don't offer support for past versions, unless you are a paying customer, in which case please contact Support as per your contract.
Current Mongoose is 7.16 and HEAD will be turning into 7.17 soon
The word "thread" causes me goose bumps, because of this:
From the docs

NOTE: Since Mongoose's core is not protected against concurrent accesses, make sure that all mg_* API functions are called from the same thread or RTOS task.

If you absolutely need multi-threading, take the time to go through the user guide (linked above) and tutorials, there is one that shows you how to do multi-threading.

If that is the case, the reason why "the glitch" didn't manifest before is just that you've been …

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by scaprile
Comment options

You must be logged in to vote
1 reply
@scaprile
Comment options

scaprile Feb 5, 2025
Collaborator

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants