RE: Threading Question
RE: Threading Question
- Subject: RE: Threading Question
- From: email@hidden
- Date: Wed, 01 Feb 2012 11:00:17 +1300
- Thread-topic: Threading Question
<pedantic>
Robert Bielik wrote:
[...]
>
> void postMessageToFifo()
> {
(write barrier needed here)
> ++fifoWritePtr;
> }
>
[...]
>
> const Message* getMessageFromFifo()
> {
(read barrier needed here)
> const Message* base = (const Message*)fifoQueue;
> return base + (fifoReadPtr & 255);
> }
>
</pedantic>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden