Fix early join after start.

This commit is contained in:
Jeroen van Rijn
2025-06-21 11:47:00 +02:00
parent 8dc374a6ae
commit 1903d7211e
5 changed files with 75 additions and 75 deletions
@@ -564,7 +564,7 @@ test_try_select_raw_no_toctou :: proc(t: ^testing.T) {
trigger := (cast(^chan.Chan(any))(__global_context_for_test))^
// Notify the thief that we are paused so that it can steal the value.
_ = chan.send(trigger, "signal")
_ = chan.send(trigger, "signal")
// Wait for comfirmation of the burglary.
_, _ = chan.recv(trigger)