Skip to content
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

kepler: Make IPC multithreaded server ready #58

Open
notYuriy opened this issue May 18, 2021 · 1 comment
Open

kepler: Make IPC multithreaded server ready #58

notYuriy opened this issue May 18, 2021 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@notYuriy
Copy link
Contributor

As of now, the request-response loop is strictly thread-local: thread that has initiated an operation is the only thread that can get notified about it. The proposal is as follows:

  • Make notification queues standalone objects. All system calls that assumed a notification queue would now accept a handle to a notification queue
  • Make a shareable notification queue that will be based on MPMC atomic unbounded queue (there are a few out there).
  • For passing objects, the same mailbox interface could be used, except there should be a way that each channel is accessed atomarically. Userspace would be responsible for allocation of channels in the mailbox.
@notYuriy notYuriy added the enhancement New feature or request label May 18, 2021
@notYuriy
Copy link
Contributor Author

With #79, old kepler code is deleted. New kepler IPC code will be written with multi-threading support in mind

@notYuriy notYuriy self-assigned this Jul 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant