...
Rule | Severity | Likelihood | Remediation Cost | Priority | Level |
---|---|---|---|---|---|
THI00-J | low | probable | medium | P4 | L3 |
Automated Detection
Automated detection of direct invocations of Thread.run()
methods is straightforward. Sound automated determination of which specific invocations are permitted may be infeasible. Heuristic approaches may be useful.
Tool | Version | Checker | Description |
---|---|---|---|
Coverity | 7.5 | DC.THREADING.thread_run | Implemented |
Related Guidelines
...
[API 2006] | Interface |
...
09. Rule 10: Thread APIs (THI) 09. Rule 10: Thread APIs (THI)