|
|
|
|
|
by rand_r
369 days ago
|
|
Race conditions are generally solved with algorithms, not the language. For example, defining a total ordering on locks and only acquiring locks in that order to prevent deadlock. I guess there there are language features like co-routines/co-operative multi-tasking that make certain algorithms possible, but nothing about Java prevents implementing sound concurrency algorithms in general. |
|
You wouldn't make that claim if your language didn't have locks.