7 ms·
Why do you avoid mutexes and locks? Are they just hard to make bug free when you start scaling them up?
by sgillen 8y ago
Why do you avoid mutexes and locks? Are they just hard to make bug free when you start scaling them up?
- chrisbennet 8y agoFor me, multithreading is um complicated. I told someone once that I view people who say that “multithreading is easy” the same way I view a young man who says “I understand women.” All kidding aside, most programs require some sort of multithreading but the ones I write haven’t needed explicit mutex, semaphores or locks. (And I’ve been doing this 30+ years.)