WaitForSingleObjectEx
WideCharToMultiByte
WriteFile
-YieldProcessor
nativeStringResourceTable_mscorrc_debug
_ZN25NativeExceptionHolderBase4PushEv
__sync_synchronize();
}
+EXTERN_C
PALIMPORT
+inline
VOID
PALAPI
YieldProcessor(
- VOID);
+ VOID)
+{
+#if defined(_X86_) || defined(_AMD64_)
+ __asm__ __volatile__(
+ "rep\n"
+ "nop");
+#else
+ return;
+#endif
+}
PALIMPORT
DWORD
/*++
Function:
-YieldProcessor
-
-The YieldProcessor function signals to the processor to give resources
-to threads that are waiting for them. This macro is only effective on
-processors that support technology allowing multiple threads running
-on a single processor, such as Intel's Hyper-Threading technology.
-
---*/
-void
-PALAPI
-YieldProcessor(
- VOID)
-{
- __asm__ __volatile__ (
- "rep\n"
- "nop"
- );
-}
-
-/*++
-Function:
XmmYmmStateSupport
Check if OS has enabled both XMM and YMM state support
--*/
#include "pal/palinternal.h"
-
-/*++
-Function:
-YieldProcessor
-
-The YieldProcessor function signals to the processor to give resources
-to threads that are waiting for them. This macro is only effective on
-processors that support technology allowing multiple threads running
-on a single processor, such as Intel's Hyper-Threading technology.
-
---*/
-void
-PALAPI
-YieldProcessor(
- VOID)
-{
- // Pretty sure ARM has no useful function here?
- return;
-}
-
--*/
#include "pal/palinternal.h"
-
-/*++
-Function:
-YieldProcessor
-
-The YieldProcessor function signals to the processor to give resources
-to threads that are waiting for them. This macro is only effective on
-processors that support technology allowing multiple threads running
-on a single processor, such as Intel's Hyper-Threading technology.
-
---*/
-void
-PALAPI
-YieldProcessor(
- VOID)
-{
- return;
-}
-
--*/
#include "pal/palinternal.h"
-
-/*++
-Function:
-YieldProcessor
-
-The YieldProcessor function signals to the processor to give resources
-to threads that are waiting for them. This macro is only effective on
-processors that support technology allowing multiple threads running
-on a single processor, such as Intel's Hyper-Threading technology.
-
---*/
-void
-PALAPI
-YieldProcessor(
- VOID)
-{
- __asm__ __volatile__ (
- "rep\n"
- "nop"
- );
-}
-