Can a multi-threaded program ever be deterministic?
Knowing the algorithm will not actually allow you to predict what will happen when. All kinds of delays that happen in the execution of a program or thread are dependent on environmental conditions such as: available memory, swapping, incoming interrupts, other busy tasks, etc. If you were to map your multi-threaded program to a sequential … Read more