Hacker News new | ask | show | jobs
by isaachier 2237 days ago
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.
1 comments

> 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.