3 ms·
No that doesn't always apply. Think of two worker threads pushing entires to a synchronised log. It's non-deterministic which order they arrive in the log, as
by chrisseaton 7y ago
No that doesn't always apply.
Think of two worker threads pushing entires to a synchronised log. It's non-deterministic which order they arrive in the log, as different schedulings and other things will cause the threads to run in different orders (they 'race' to put entries in the log, we say), but it's not a bug, and it's not lock-free because the log is synchronised.