]> git.lizzy.rs Git - rust.git/blobdiff - library/std/src/thread/local/tests.rs
Squashed implementation of the pass
[rust.git] / library / std / src / thread / local / tests.rs
index f33d6129619318e8774303d9b77b930de34093f5..1df1ca758c054d10516cce9c215dd08977036be3 100644 (file)
@@ -297,7 +297,7 @@ fn drop(&mut self) {
             .unwrap();
 
         loop {
-            match SYNC_STATE.compare_exchange_weak(
+            match SYNC_STATE.compare_exchange(
                 THREAD1_WAITING,
                 MAIN_THREAD_RENDEZVOUS,
                 Ordering::SeqCst,