proc: document thread safety of Process interface.

This commit is contained in:
aarzilli
2017-06-06 19:12:09 +02:00
committed by Alessandro Arzilli
parent 16d8bd647f
commit 037aa01963
2 changed files with 11 additions and 0 deletions

View File

@ -6,6 +6,11 @@ import (
// Process represents the target of the debugger. This
// target could be a system process, core file, etc.
//
// Implementations of Process are not required to be thread safe and users
// of Process should not assume they are.
// There is one exception to this rule: it is safe to call RequestManualStop
// concurrently with ContinueOnce.
type Process interface {
Info
ProcessManipulation