Message Queue API
Message Queue API
The message queue API takes pointers but not a "size" argument, so what is the intended method of IPC?
Re: Message Queue API
Hi,
it's not intended to send arrays for instance. you rather send a pointer to a struct thru it with all the neccessary informations as member in it. Or even a simple data type like int to notify the other thread.
This allows for a wide use of this API.
regards
shagkur
it's not intended to send arrays for instance. you rather send a pointer to a struct thru it with all the neccessary informations as member in it. Or even a simple data type like int to notify the other thread.
This allows for a wide use of this API.
regards
shagkur
Re: Message Queue API
Interesting... this means that the sending party is forced to send always the exact same structure format, all the time, for a specific message; also, that the receiving end will assume that the data comes *always* in that same format, all of the time again... is this correct?
-
- Site Admin
- Posts: 2003
- Joined: Tue Aug 09, 2005 3:21 am
- Location: UK
- Contact:
Re: Message Queue API
That really depends on you, it's a void pointer, it can point to anything, could encode RIFF chunks for all the library cares.
Who is online
Users browsing this forum: No registered users and 1 guest