提交 037aa019 编写于 作者: A aarzilli 提交者: Alessandro Arzilli

proc: document thread safety of Process interface.

上级 16d8bd64
......@@ -5,6 +5,12 @@ This project adheres to Semantic Versioning.
All changes mention the author, unless contributed by me (@derekparker).
## [RELEASE TO BE DEFINED] DATE TO BE DEFINED
### Fixed
- Data races in tests (@aarzilli)
## [1.0.0-rc.2] DATE TO BE DEFINED
### Added
......
......@@ -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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册