Best way of implementing async/await in user space? #1388
Unanswered
ChocolateLoverRaj
asked this question in
Questions
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
What I did so far:
I want to design syscalls to make it well integrated with writing async code in the user space, but I'm not sure how to do this. I want to make it have good performance, which I think means minimizing the number of syscalls.
My plan
hlt
instruction to wait for something to happen.Issues with my plan
ArrayQueue
but how would I do this if both the kernel and user space are accessing the same memory?Should I do something completely different from my current plan? Are there other problems with my plan? Are there better methods of doing this? I'm looking for suggestions.
Beta Was this translation helpful? Give feedback.
All reactions