• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
RE: Threading Question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Threading Question
      • From: Mark Pauley <email@hidden>
References: 
 >Threading Question (From: ben kamen <email@hidden>)
 >Re: Threading Question (From: Gregory Wieber <email@hidden>)
 >Re: Threading Question (From: Gregory Wieber <email@hidden>)
 >Re: Threading Question (From: Gregory Wieber <email@hidden>)
 >Re: Threading Question (From: ben kamen <email@hidden>)
 >Re: Threading Question (From: Robert Bielik <email@hidden>)

  • Prev by Date: Re: Threading Question
  • Next by Date: Re: Threading Question
  • Previous by thread: Re: Threading Question
  • Next by thread: Re: Threading Question
  • Index(es):
    • Date
    • Thread