Skip to content

Is there a way to make mg_mgr_poll() non blocking or make mg totally event drivent ? #1773

Discussion options

You must be logged in to vote

I know that mg is event driven internally. But it still needs the poll() call to respond to those events.

Is there a way to respond directly to an internal event without having to use poll() ?

I want to start using mg for some time sensitive UDP and WebSocket messaging. Is there a way to respond directly to a message received event as soon as it happens ?

Replies: 2 comments 2 replies

Comment options

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

Comment options

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

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