5 locks acquisitions to transfer something over a channel.

----- Original Message -----
> From: "Niko Matsakis" <[email protected]>
> To: "Erick Tryzelaar" <[email protected]>
> Cc: [email protected]
> Sent: Friday, December 16, 2011 8:27:42 PM
> Subject: Re: [rust-dev] would sending a unique value across a channel trigger 
> a memory barrier?
> On 12/16/11 6:37 PM, Erick Tryzelaar wrote:
> > I need a memory barrier to transfer a zeromq socket from one thread
> > to
> > another. Will I automatically get one with our implementation of
> > tasks, channels, and ports?
> Yes. 99% sure you do today (there must be some locks somewhere...have
> to review the path) but if not we have to add one or else the code is
> just buggy.
> 
> 
> Niko
> _______________________________________________
> Rust-dev mailing list
> [email protected]
> https://mail.mozilla.org/listinfo/rust-dev
_______________________________________________
Rust-dev mailing list
[email protected]
https://mail.mozilla.org/listinfo/rust-dev

Reply via email to