Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions internal/fakecgo/threadentry_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,10 @@ func TestThreadEntryReturn(t *testing.T) {
// enough to catch a broken teardown while staying quick under emulation.
const rounds = 10
const workers = 16
for range rounds {
for i := 0; i < rounds; i++ {
var wg sync.WaitGroup
wg.Add(workers)
for range workers {
for j := 0; j < workers; j++ {
go func() {
defer wg.Done()
runtime.LockOSThread()
Expand Down
Loading