mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-23 11:02:07 +03:00
8878b128ba
Updated the MapReduce protocol so that it's correct more often. It's still not perfect, but the bugs repro less often now. Also found a race condition in channel sending. The problem is that send and receive both need to refer to the _unread field in circular_buffer. For now I just grabbed the port lock to send. We can probably get around this by using atomics instead.