Re: best practices for sending data from UI to RemoteIO callback thread
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