Skip to content

how to make the server non-blocking #2661

Discussion options

You must be logged in to vote

Please follow the guidelines in the documentation, examples and tutorials available.

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.

Replies: 1 comment 1 reply

Comment options

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

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