proc: add minor comments (#2228)

This patch adds some comments around RequestManualStop().
This commit is contained in:
Andrei Matei
2020-11-16 11:55:59 -05:00
committed by GitHub
parent c94db60d27
commit 42f56e2862
2 changed files with 6 additions and 2 deletions

View File

@ -98,6 +98,7 @@ type ThreadInfo interface {
// ProcessManipulation is an interface for changing the execution state of a process.
type ProcessManipulation interface {
// RequestManualStop attempts to stop all the process' threads.
RequestManualStop() error
// CheckAndClearManualStopRequest returns true the first time it's called
// after a call to RequestManualStop.