On Thursday, December 26, 2013, Daniel Micay wrote:

> A blocking queue is by definition not lock-free/wait-free,
> since the wait is known as a lock. It can be done via a spin lock, a
> system call like `futex` or the mix used by Linux mutexes but it's a
> lock by any other name.
>

There are also sleeping waits with a context switch, which in an M:N setup
can occur within the same scheduler thread.


-- 
Tony Arcieri
_______________________________________________
Rust-dev mailing list
Rust-dev@mozilla.org
https://mail.mozilla.org/listinfo/rust-dev

Reply via email to