mirror of
https://github.com/go-delve/delve.git
synced 2025-10-29 09:46:56 +08:00
proc: document thread safety of Process interface.
This commit is contained in:
committed by
Alessandro Arzilli
parent
16d8bd647f
commit
037aa01963
@ -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
|
||||
|
||||
Reference in New Issue
Block a user