-
Notifications
You must be signed in to change notification settings - Fork 112
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Apply bidirectional queue design to the input system #62
Conversation
becd6c7
to
4f4b29a
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Check memory allocation.
7f07cec
to
22ff138
Compare
This pull request introduces 1 alert when merging 22ff138 into 93952a1 - view on LGTM.com new alerts:
|
This pull request introduces 1 alert when merging 084c700 into 93952a1 - view on LGTM.com new alerts:
|
This commit splits the input system into two parts, event and submission, and introduces two system calls, setup_queue and submit, the former is used to assist in the creation of queues, which is part of the communication bridge between the user application code and the emulator, and the latter is used to notify the emulator that a submission (or a command) should be processed. The design of these system calls is heavily based on Linux io_uring interface.
Thank @alanjian85 for contributing! |
This pull request introduces 1 alert when merging db8620e into 93952a1 - view on LGTM.com new alerts:
|
Apply bidirectional queue design to the input system
This commit splits the input system into two parts, event and submission, and introduces two system calls, setup_queue and submit, the former is used to assist in the creation of queues, which is part of the communication bridge between the user application code and the emulator, and the latter is used to notify the emulator that a submission (or a command) should be processed. The design of these system calls is heavily based on Linux io_uring interface.