blob: 3592ea132fe175c9025ad948bc83d2a0603428fe (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
|
#ifndef _JOVE_x86_64_LOCK_H
#define _JOVE_x86_64_LOCK_H 1
#include <stdatomic.h>
void take_mutex(atomic_flag *lock);
int try_take_mutex(atomic_flag *lock);
void release_mutex(atomic_flag *lock);
#endif
|