pushlock: rewrite implementation

This commit is contained in:
Matheus
2026-07-17 15:58:59 -03:00
parent 06c912dc07
commit fd443a211d
3 changed files with 192 additions and 152 deletions
+1 -1
View File
@@ -12,7 +12,7 @@ typedef pushlock_t mutex_t;
pushlock_acquire_exclusive(m)
#define MUTEX_RELEASE(m) \
pushlock_release(m)
pushlock_release_exclusive(m)
#define MUTEX_TRY(m) \
pushlock_try_acquire_exclusive(m)