mirror of
https://github.com/Mathewnd/Astral.git
synced 2026-10-29 05:38:21 +00:00
pushlock: rewrite implementation
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user