• 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: best practices for sending data from UI to RemoteIO callback thread
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: best practices for sending data from UI to RemoteIO callback thread


  • Subject: Re: best practices for sending data from UI to RemoteIO callback thread
  • From: Kyle Sluder <email@hidden>
  • Date: Sat, 26 Mar 2011 19:00:10 -0700

On Sat, Mar 26, 2011 at 2:57 PM, Paul Davis <email@hidden> wrote:
>
> ordering: you cannot control this without using write/read barriers,
> not within a thread let alone between threads.

Do threads have processor affinity? If so, then you shouldn't need
write barriers within the same thread. And even if threads don't have
processor affinity, if the machine is going to switch your thread onto
a different core, wouldn't the entire SMP model would break down if it
didn't preserve ordering?

It is entirely possible that I am misunderstanding something here, but
I was under the impression that a single thread does not need to issue
read and write barriers.

--Kyle Sluder
 _______________________________________________
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: best practices for sending data from UI to RemoteIO callback thread
      • From: Paul Davis <email@hidden>
References: 
 >best practices for sending data from UI to RemoteIO callback thread (From: Morgan Packard <email@hidden>)
 >Re: best practices for sending data from UI to RemoteIO callback thread (From: Morgan Packard <email@hidden>)
 >Re: best practices for sending data from UI to RemoteIO callback thread (From: wm schauweker <email@hidden>)
 >Re: best practices for sending data from UI to RemoteIO callback thread (From: Morgan Packard <email@hidden>)
 >Re: best practices for sending data from UI to RemoteIO callback thread (From: Paul Davis <email@hidden>)
 >Re: best practices for sending data from UI to RemoteIO callback thread (From: Morgan Packard <email@hidden>)
 >Re: best practices for sending data from UI to RemoteIO callback thread (From: Paul Davis <email@hidden>)
 >Re: best practices for sending data from UI to RemoteIO callback thread (From: Morgan Packard <email@hidden>)
 >Re: best practices for sending data from UI to RemoteIO callback thread (From: Paul Davis <email@hidden>)

  • Prev by Date: Re: best practices for sending data from UI to RemoteIO callback thread
  • Next by Date: Re: best practices for sending data from UI to RemoteIO callback thread
  • Previous by thread: Re: best practices for sending data from UI to RemoteIO callback thread
  • Next by thread: Re: best practices for sending data from UI to RemoteIO callback thread
  • Index(es):
    • Date
    • Thread