CNDP 22.08.0
Loading...
Searching...
No Matches
cne_pause.h
1/* SPDX-License-Identifier: BSD-3-Clause
2 * Copyright (c) 2017 Cavium, Inc
3 */
4
5#ifndef _CNE_PAUSE_H_
6#define _CNE_PAUSE_H_
7
8#include <emmintrin.h>
9
10#ifdef __cplusplus
11extern "C" {
12#endif
13
17static inline void
18cne_pause(void)
19{
20 _mm_pause();
21}
22
23#ifdef __cplusplus
24}
25#endif
26
27#endif /* _CNE_PAUSE_H_ */