Handle statedump agent thread state across fork
[libside.git] / src / compiler.h
CommitLineData
7e38dc2e
MD
1// SPDX-License-Identifier: MIT
2/*
3 * Copyright (C) 2024 Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
4 */
5
6#ifndef _SIDE_COMPILER_H
7#define _SIDE_COMPILER_H
8
9//TODO: implement per-architecture busy loop "pause"/"rep; nop;" instruction.
10static inline
11void side_cpu_relax(void)
12{
13 asm volatile ("" : : : "memory");
14}
15
16#endif /* _SIDE_COMPILER_H */
This page took 0.022722 seconds and 4 git commands to generate.