---
title: Spin函数
description: - x86平台
url: "https://www.hikunpeng.com/document/detail/zh/kunpengdbs/ecosystemEnable/databasepg/kunpengdbsolution_12_0016.html"
---

# Spin函数

- x86平台
  1 define UT_RELAX_CPU() __asm__ __volatile__("pause")


- AArch64平台
  1 define UT_RELAX_CPU() __asm__ __volatile__("" ::: "memory")
