I'm hoping someone can provide a reference or example.
I have a multi-threaded application in C. I'd like to use message queues to communicate between two of the threads and be able to pass messages of ~16 bytes. I'm developing this under Windows right now but will port this to a different embedded operating system in the future. I realize the thread and message queue functions will be different under a different operating system.
What I'm looking for is the simple way to do a message queue under Windows. The MSDN literature immediately starts talking about GUI windows and system messages. I'm not interested in either.
All I want to do is create the queue, pend a thread listening on the queue, and be able to write to it.
Any pointers or examples would be appreciated.