Document amd64 platform-specific code
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
#include <sys/spin_lock.h>
|
||||
|
||||
/// Relax the spinlock using AMD64 pause instruction
|
||||
void spin_lock_relax (void) { __asm__ volatile ("pause"); }
|
||||
|
||||
Reference in New Issue
Block a user