implement async version of mutex #97
Loading…
Reference in New Issue
There is no content yet.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may exist for a short time before cleaning up, in most cases it CANNOT be undone. 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.