-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Description
self.closed has no lock. I know that it's only a bool, but two threads could potentially write and read to this variable at the same time. And Len is trying to read over a buffer, during potential writes and reads. I'm a new comer to Zig, but this would definitely be a race in Go and I'd expect the race detector to spot this (with enough iterations).
Metadata
Metadata
Assignees
Labels
No labels