Fix copyright lines
[folly.git] / folly / MicroLock.cpp
index 06e8de08768bb01bbb69636dffed07b198738108..910e23f353d647b0a0006e6c0a7d04d812a19785 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright 2017 Facebook, Inc.
+ * Copyright 2016-present Facebook, Inc.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -51,7 +51,7 @@ retry:
       // sched_yield(), but more portable
       std::this_thread::yield();
     } else {
-      folly::asm_pause();
+      folly::asm_volatile_pause();
     }
     oldWord = wordPtr->load(std::memory_order_relaxed);
     goto retry;
@@ -65,4 +65,4 @@ retry:
     goto retry;
   }
 }
-}
+} // namespace folly