12#ifndef ARCANE_PARALLEL_THREAD_ARCANETHREADMISC_H
13#define ARCANE_PARALLEL_THREAD_ARCANETHREADMISC_H
17#include "arcane/parallel/thread/ArcaneThread.h"
21#if defined(__x86_64__)
44#if defined(__x86_64__)
50#elif defined(__aarch64__)
52 __asm__ __volatile__(
"yield" :::
"memory");
60 std::this_thread::yield();
-- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature --
void arcaneDoCPUPause(Int32 count)
Uses the CPU 'pause' instruction if possible.
std::int32_t Int32
Signed integer type of 32 bits.