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

put process to sleep #8

Open
paked opened this issue Nov 17, 2020 · 1 comment
Open

put process to sleep #8

paked opened this issue Nov 17, 2020 · 1 comment

Comments

@paked
Copy link
Owner

paked commented Nov 17, 2020

we should have a way to send processes to sleep for a certain amount of time.

this requires:

  1. some notion of process state (maybe "dead", "alive", "sleeping" for now)
  2. a way to yield to the scheduler from inside a process
  3. scheduler ignoring processes that are sleeping
@BishopOfTurkey
Copy link
Collaborator

related to #7

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants