Guidelines for testing multithreaded code or ensuring that code is thread-safe

后端 未结 2 743
旧巷少年郎
旧巷少年郎 2020-12-18 03:58

Are there any guidelines for testing multi-threaded code (other than throwing a bunch of threads at the problem and crossing your fingers).

I\'m basically looking fo

2条回答
  •  半阙折子戏
    2020-12-18 03:59

    GroboUtils, http://groboutils.sourceforge.net/testing-junit/using_mtt.html, provides some JUnit utilities for testing Threads.

提交回复
热议问题