blob: 6fcd36b1ec61560053dbea2348708ae9be023bd8 (
plain)
1
2
3
4
5
6
7
8
9
10
|
/* $OpenBSD: lock.h,v 1.12 2016/04/03 11:05:26 jsg Exp $ */
/* public domain */
#ifndef _MACHINE_LOCK_H_
#define _MACHINE_LOCK_H_
#define SPINLOCK_SPIN_HOOK __asm volatile("pause": : :"memory")
#endif /* _MACHINE_LOCK_H_ */
|