mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 03:32:45 +00:00 
			
		
		
		
	Kernel: Rename ScopedSpinlock => SpinlockLocker
This matches MutexLocker, and doesn't sound like it's a lock itself.
This commit is contained in:
		
							parent
							
								
									55adace359
								
							
						
					
					
						commit
						c922a7da09
					
				
					 78 changed files with 365 additions and 366 deletions
				
			
		|  | @ -70,7 +70,7 @@ UNMAP_AFTER_INIT KernelRng::KernelRng() | |||
| 
 | ||||
| void KernelRng::wait_for_entropy() | ||||
| { | ||||
|     ScopedSpinlock lock(get_lock()); | ||||
|     SpinlockLocker lock(get_lock()); | ||||
|     if (!resource().is_ready()) { | ||||
|         dbgln("Entropy starvation..."); | ||||
|         m_seed_queue.wait_forever("KernelRng"); | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Andreas Kling
						Andreas Kling