implement async version of mutex #97

Closed
opened 2022-05-24 12:53:25 +08:00 by mwojcik · 0 comments

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.

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.
sb10q closed this issue 2022-05-25 10:24:15 +08:00
Sign in to join this conversation.
No Label
No Milestone
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: M-Labs/zynq-rs#97
There is no content yet.