Re:How to trigger races reliably in the Linux kernel
by isaachier on Tuesday May 05, 2020 @11:42AM
(#23081235)
What you are describing sounds like non-deterministic behavior of a thread-safe primitive, e.g. non-deterministic ordering in a synchronized queue. On the other hand, a true race condition in the queue could mean messages overwriting each other.
[ Parent
| on HN ]
Re:How to trigger races reliably in the Linux kernel
by chrisseaton on Tuesday May 05, 2020 @12:57PM
(#23082121)
> What you are describing sounds like non-deterministic behavior of a thread-safe primitive, e.g. non-deterministic ordering in a synchronized queue.
That's what a race condition is - non-deterministic behavior of a thread-safe primitive.
> On the other hand, a true race condition in the queue could mean messages overwriting each other.
That's a data race, not a race condition.