Can a multi-threaded program ever be deterministic?

前端 未结 7 1140
独厮守ぢ
独厮守ぢ 2020-12-03 18:36

Normally it is said that multi threaded programs are non-deterministic, meaning that if it crashes it will be next to impossible to recreate the error that caused the condit

相关标签:
7条回答
  • 2020-12-03 19:02

    There are some tools (in development) that will try to create race-conditions in a somewhat predictable manner but this is about forward-looking testing, not about reconstructing a 'bug in the wild'.

    CHESS is an example.

    0 讨论(0)
提交回复
热议问题