Ways to Find a Race Condition

后端 未结 8 1131
无人共我
无人共我 2021-02-05 07:02

I have a bit of code with a race condition in it... I know that it is a race condition because it does not happen consistently, and it seems to happen more often on dual core ma

8条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2021-02-05 07:39

    The best way I know of to track these down is to use CHESS in Visual Studio. This is not a simple tool to use, and will probably require testing subsections of your app progressively. Good luck.

提交回复
热议问题