[Arm64/Unix] Implement YieldProcessor() (dotnet/coreclr#12229)
authorSteve MacLean <sdmaclea.qdt@qualcommdatacenter.com>
Mon, 12 Jun 2017 23:49:39 +0000 (19:49 -0400)
committerJan Vorlicek <janvorli@microsoft.com>
Mon, 12 Jun 2017 23:49:39 +0000 (01:49 +0200)
Commit migrated from https://github.com/dotnet/coreclr/commit/f3adf9c1baadbb90136cbcc7b8e1833ac422a6f6

src/coreclr/src/pal/inc/pal.h

index 2d703e8..499b633 100644 (file)
@@ -4572,6 +4572,8 @@ YieldProcessor(
     __asm__ __volatile__(
         "rep\n"
         "nop");
+#elif defined(_ARM64_)
+    __asm__ __volatile__( "yield");
 #else
     return;
 #endif