mirror of
				https://git.zaroz.cloud/nintendo-back-up/yuzu/yuzu-mainline.git
				synced 2025-03-21 01:53:15 +00:00 
			
		
		
		
	hle: kernel: SynchronizationObject: Use atomic_bool for is_signaled.
This commit is contained in:
		
							parent
							
								
									c042a89113
								
							
						
					
					
						commit
						9423347c1b
					
				| @ -4,6 +4,7 @@ | ||||
| 
 | ||||
| #pragma once | ||||
| 
 | ||||
| #include <atomic> | ||||
| #include <memory> | ||||
| #include <vector> | ||||
| 
 | ||||
| @ -56,7 +57,7 @@ public: | ||||
|     void ClearWaitingThreads(); | ||||
| 
 | ||||
| protected: | ||||
|     bool is_signaled{}; // Tells if this sync object is signalled;
 | ||||
|     std::atomic_bool is_signaled{}; // Tells if this sync object is signaled
 | ||||
| 
 | ||||
| private: | ||||
|     /// Threads waiting for this object to become available
 | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 bunnei
						bunnei