implement async version of mutex #97
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Using mutex on single core with async/await will cause deadlocks - as the spinlock will keep spinning, but no other task will be able to run, thus just like Semaphore, Mutex also needs a version that works with async/await.