我想要Linux下自动收发Message的方法,请高手指点。
I want a corresponding method to PostMessage/SendMessage(Windows).
In linux only the signal can be triggered automatically, but it just has 2 user reserved signal numbers. As for the msgq, it can't be informed when a message being sent to a message queue.
How can I build a message queue that can receive a message as soon as the message being put into the messaeg queue?( trigger but not implemented with a query loop).
Thank you.