Welcome! Log In Create A New Profile

Advanced

Messaging Queue API?

Posted by ShadowSpace 
Messaging Queue API?
October 25, 2010 04:25PM
The message queue API takes pointers but not a "size" argument, so what is the intended method of IPC?
Re: Messaging Queue API?
October 25, 2010 04:27PM
Quote
ShadowSpace
The message queue API takes pointers but not a "size" argument, so what is the intended method of IPC?

It's not intended to send arrays for instance. you rather send a pointer to a struct through it with all the neccessary information as member in it. Or even a simple data type like int to notify the other thread. This allows for a wide use of the API.
Re: Messaging Queue API?
October 25, 2010 05:06PM
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?
Re: Messaging Queue API?
October 25, 2010 05:08PM
Quote
ShadowSpace
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?

Anyone??



Edited 1 time(s). Last edit at 10/25/2010 05:19PM by ShadowSpace.
Re: Messaging Queue API?
October 25, 2010 05:20PM
Quote
ShadowSpace
Quote
ShadowSpace
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?

Anyone??

That really depends on you, it's a void pointer, it can point to anything, could encode RIFF chunks for all the library cares.
Re: Messaging Queue API?
October 25, 2010 05:54PM
Quote
ShadowSpace
Quote
ShadowSpace
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?

Anyone??

You felt it necessary to bump after 2 minutes? Learn a little patience, and don't do that again.
Re: Messaging Queue API?
October 25, 2010 06:50PM
Energizer/ShadowSpace/ShadowMaster1229/CrystalSpark/awiiprogrammer/Irrlicht, why are you having a conversation with yourself? And why is this hundredth time you've chosen to amuse yourself like this ( [forum.wiibrew.org] )?

Edit: Multiple edits made as more accounts were discovered.



Edited 6 time(s). Last edit at 10/25/2010 07:31PM by Arikado.
Re: Messaging Queue API?
October 25, 2010 07:00PM
Ha, didn't even notice that. What an idiot.
Re: Messaging Queue API?
October 25, 2010 07:05PM
Re: Messaging Queue API?
October 25, 2010 07:17PM
More accounts banned at once than ever before. Wow.
Sorry, you can't reply to this topic. It has been closed.