How can I verify lock-free algorithms?

后端 未结 5 1993
滥情空心
滥情空心 2021-01-30 05:47

In theory, it should be possible to at least brute force a verification of a lock-free algorithm (there are only so many combinations of function calls intersecting). Are there

5条回答
  •  终归单人心
    2021-01-30 06:21

    Data race detection is an NP hard problem [Netzer&Miller 1990]

    I heard about the tools Lockset, and DJit+ (they teach it in the CDP course). Try reading the slides, and googling what they reference to. It contains some interesting information.

提交回复
热议问题