[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [[UNIKRAFT] 2/4] lib/uklock: Provide isr-safe mutex routines
This patch provides isr-safe mutex routines, derived from uklock library. Signed-off-by: cristian-vijelie <cristianvijelie@xxxxxxxxx> --- lib/uklock/include/uk/isr/mutex.h | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 lib/uklock/include/uk/isr/mutex.h diff --git a/lib/uklock/include/uk/isr/mutex.h b/lib/uklock/include/uk/isr/mutex.h new file mode 100644 index 0000000..9d25599 --- /dev/null +++ b/lib/uklock/include/uk/isr/mutex.h @@ -0,0 +1,3 @@ +#include <uk/mutex.h> + +#define uk_mutex_trylock_isr(x) uk_mutex_trylock(x) -- 2.25.1
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |