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

vmhost process/thread management #22

Open
zippy opened this issue Aug 5, 2015 · 2 comments
Open

vmhost process/thread management #22

zippy opened this issue Aug 5, 2015 · 2 comments
Assignees
Milestone

Comments

@zippy
Copy link
Owner

zippy commented Aug 5, 2015

The vmhost needs structures and code for handling edge-receptor threads, as well as a thread pool to allocate to handling receptors process queues.

This code needs to be called from the main thread that comes from the accumulator boot-up sequence

zippy added a commit that referenced this issue Aug 5, 2015
we now have process/thread management in the vmhost
including startup/shudown sequences that get called from
the accumulators own boot/shutdown phases.
This includes some fixes to the receptor process queue
@zippy
Copy link
Owner Author

zippy commented Aug 5, 2015

basics in place in: c93111b

Still todo:

  • thread pool for multi-threaded reduction of receptor processes instead of single polling by vmhost thread
  • using pthread condition variables to remove polling.
  • use case: communication between clock receptor and std-out edge receptor (command line shell receptor create shell/command line receptor #25)
  • sending signals between receptors as part of the processing loop.

@zippy zippy self-assigned this Aug 17, 2015
@zippy zippy added partial and removed in progress labels Oct 23, 2015
@zippy zippy added this to the Proto Launch milestone Mar 15, 2016
@zippy
Copy link
Owner Author

zippy commented Mar 15, 2016

Here's a good candidate for a thread pool library. Very simple and it looks like it's broadly used and tested. https://github.com/Pithikos/C-Thread-Pool

@zippy zippy added prioritized and removed partial labels Mar 15, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant