diff --git a/include/osv/mutex.h b/include/osv/mutex.h index e7683996e1d22d217a0b5c763c25d3f96f105778..ce1cc2e1d65f315a2b9d6e16bda39d6033785c6b 100644 --- a/include/osv/mutex.h +++ b/include/osv/mutex.h @@ -5,9 +5,9 @@ #include <string.h> #include <stdint.h> -// To replace the spin-lock-based mutex with lockfree::mutex everywhere, -// change #undef LOCKFREE_MUTEX here to #define. -#undef LOCKFREE_MUTEX +// To use the spin-lock-based mutex instead of lockfree::mutex everywhere, +// change #define LOCKFREE_MUTEX here to #undef. +#define LOCKFREE_MUTEX #ifdef LOCKFREE_MUTEX #define LOCKFREE_MUTEX_SIZE 40