Skip to content

Comment on Race Conditions Can Be Useful for Parallelismparent

Comments

Usually you’re adding locks not to remove the race condition but to make them not a bug.

That is a valid definition but it's not the one used by everyone I know and work with. A race condition is a fault, just like a SQL injection; it could easily have referred to a programming technique but it doesn't.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.