Hacker News new | past | comments | ask | show | jobs | submit login

A race condition is a situation where the result depends on the ordering/interweaving of threads. And that example isn't actually one.

It's a deadlock which are also bad but much more deterministic and easier to debug.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: