diff options
| author | vvvv <[email protected]> | 2022-02-10 16:46:34 +0300 | 
|---|---|---|
| committer | Daniil Cherednik <[email protected]> | 2022-02-10 16:46:34 +0300 | 
| commit | ad94e93a059747f4fc3d7add88d1a83daf40b733 (patch) | |
| tree | 731d57e580bd143e1136e7747f13b26e6bac95d0 /contrib/libs/cxxsupp/libcxxrt | |
| parent | 298c6da79f1d8f35089a67f463f0b541bec36d9b (diff) | |
Restoring authorship annotation for <[email protected]>. Commit 1 of 2.
Diffstat (limited to 'contrib/libs/cxxsupp/libcxxrt')
| -rw-r--r-- | contrib/libs/cxxsupp/libcxxrt/guard.cc | 4 | 
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/libs/cxxsupp/libcxxrt/guard.cc b/contrib/libs/cxxsupp/libcxxrt/guard.cc index 10978716e85..c34f871e198 100644 --- a/contrib/libs/cxxsupp/libcxxrt/guard.cc +++ b/contrib/libs/cxxsupp/libcxxrt/guard.cc @@ -122,7 +122,7 @@ extern "C" int __cxa_guard_acquire(volatile guard_t *guard_object)  	// if one is already established and we end up seeing an initialised state  	// then it's a fast path, otherwise we'll do something more expensive than  	// this test anyway... -	if (INITIALISED == __atomic_load_n(INIT_PART(guard_object), __ATOMIC_RELAXED)) +	if (INITIALISED == __atomic_load_n(INIT_PART(guard_object), __ATOMIC_RELAXED))   		return 0;  	// Spin trying to do the initialisation  	for (;;) @@ -142,7 +142,7 @@ extern "C" int __cxa_guard_acquire(volatile guard_t *guard_object)  			// No need for a memory barrier here,  			// see first comment. -			__atomic_store_n(LOCK_PART(guard_object), INITIAL, __ATOMIC_RELAXED); +			__atomic_store_n(LOCK_PART(guard_object), INITIAL, __ATOMIC_RELAXED);   			return 0;  		}  		// If lock and init bit are in the same word, check again  | 
