mirror of
https://github.com/denoland/deno.git
synced 2024-11-25 15:29:32 -05:00
7cc584ed79
The tests would deadlock if we tried to write the sync marker into a pipe that was full because one test streamed just enough data to fill the pipe, so when we went to actually write the sync marker we blocked when nobody was reading. We use a two-phase lock for sync markers now: one to indicate "ready to sync" and the second to indicate that the sync bytes have been received. |
||
---|---|---|
.. | ||
reporters | ||
channel.rs | ||
fmt.rs | ||
mod.rs |