3 ms·
The other surprising thing is that two code reviewers also evidently missed the opportunity to re-write it properly using thread synchronization primitives. Rat
by ryandrake 2y ago
The other surprising thing is that two code reviewers also evidently missed the opportunity to re-write it properly using thread synchronization primitives. Rather they argued about what to pass to wait(), except you shouldn't be using wait() or sleep() here at all!
- pockmarked19 2y agoAt least in 2025 they could slap it into Claude and produce a better review without engaging in…shudders *thought*.
- ryandrake 2y agoWell the article was in 2009. Hopefully someone's taken them aside and explained synchronization objects to them by now.