> conceptually irrelevant and probably easier to implement.
Well, it depends on how it’s implemented.
If “made thread safe” means constantly grabbing locks around large blocks of data then the end result is concurrency (hopefully!) but not parallelism. Meaning you might only have one thread active at a time in practice.
Wrapping the universe in a mutex is thread safe. But it’s not a good solution.
Well, it depends on how it’s implemented.
If “made thread safe” means constantly grabbing locks around large blocks of data then the end result is concurrency (hopefully!) but not parallelism. Meaning you might only have one thread active at a time in practice.
Wrapping the universe in a mutex is thread safe. But it’s not a good solution.