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

Decouple thread startup from thread creation #72

Merged
merged 16 commits into from
Oct 25, 2024

Conversation

phaubertin
Copy link
Owner

@phaubertin phaubertin commented Oct 22, 2024

  • Have the CREATE_THREAD system call bind the thread it creates to a descriptor.
  • Decouple starting a thread (START_THREAD) from creating a thread (CREATE_THREAD). This way, a process can be given the permissions needed to manage a thread pool but not to create threads itself, to allow a system service to control resource usage.
  • Add JOIN_THREAD system call.

@phaubertin phaubertin changed the title Split thread startup from thread creation Decouple thread startup from thread creation Oct 24, 2024
@phaubertin phaubertin marked this pull request as ready for review October 25, 2024 23:44
@phaubertin phaubertin merged commit ce60c73 into main Oct 25, 2024
2 checks passed
@phaubertin phaubertin deleted the feature_split_thread_start branch October 25, 2024 23:44
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

Successfully merging this pull request may close these issues.

1 participant