mirror of
				https://github.com/superseriousbusiness/gotosocial.git
				synced 2025-10-29 04:22:24 -05:00 
			
		
		
		
	update code-comment to expand CAS accronym
This commit is contained in:
		
					parent
					
						
							
								dd0f51ed1e
							
						
					
				
			
			
				commit
				
					
						6e26972fcd
					
				
			
		
					 1 changed files with 2 additions and 2 deletions
				
			
		
							
								
								
									
										4
									
								
								internal/cache/timeline/preload.go
									
										
									
									
										vendored
									
									
								
							
							
						
						
									
										4
									
								
								internal/cache/timeline/preload.go
									
										
									
									
										vendored
									
									
								
							|  | @ -91,8 +91,8 @@ func (p *preloader) CheckPreload(preload func(*any)) { | |||
| 	} | ||||
| } | ||||
| 
 | ||||
| // start attempts to start the given preload function, by | ||||
| // performing a CAS operation with 'old'. return is success. | ||||
| // start attempts to start the given preload function, by performing | ||||
| // a compare and swap operation with 'old'. return is success. | ||||
| func (p *preloader) start(old *any, preload func(*any)) bool { | ||||
| 
 | ||||
| 	// Optimistically setup a | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue