You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a setup where I need to call mqueue_push from an event handler for the user agent, but when I do this the push isn't received on the other end. I suspect it has to do with the mqueue allocation, but I can't figure out what I'm doing wrong (I am allocating the mqueue as a global variable in main and sharing across the application).
Can anyone please provide a simple example showing how to use mqueue_push within another user agent handler?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I have a setup where I need to call
mqueue_push
from an event handler for the user agent, but when I do this the push isn't received on the other end. I suspect it has to do with themqueue
allocation, but I can't figure out what I'm doing wrong (I am allocating themqueue
as a global variable in main and sharing across the application).Can anyone please provide a simple example showing how to use
mqueue_push
within another user agent handler?Mu code looks something like this:
And the main file looks like this:
Beta Was this translation helpful? Give feedback.
All reactions