4 ms·
You don't need thread synchronization if you don't have threads. ;-) Threads should be avoided whenever possible and only used when you have no better alternat
by jey 19y ago
You don't need thread synchronization if you don't have threads. ;-)
Threads should be avoided whenever possible and only used when you have no better alternative or if there is a really good performance benefit. Multithreaded programming is easy to screw up and hard to get right, and is usually not needed.