mirror of
				https://github.com/go-delve/delve.git
				synced 2025-10-31 10:47:27 +08:00 
			
		
		
		
	proc: document thread safety of Process interface.
This commit is contained in:
		 aarzilli
					aarzilli
				
			
				
					committed by
					
						 Alessandro Arzilli
						Alessandro Arzilli
					
				
			
			
				
	
			
			
			 Alessandro Arzilli
						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). | 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 | ## [1.0.0-rc.2] DATE TO BE DEFINED | ||||||
|  |  | ||||||
| ### Added | ### Added | ||||||
|  | |||||||
| @ -6,6 +6,11 @@ import ( | |||||||
|  |  | ||||||
| // Process represents the target of the debugger. This | // Process represents the target of the debugger. This | ||||||
| // target could be a system process, core file, etc. | // 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 { | type Process interface { | ||||||
| 	Info | 	Info | ||||||
| 	ProcessManipulation | 	ProcessManipulation | ||||||
|  | |||||||
		Reference in New Issue
	
	Block a user