-
Notifications
You must be signed in to change notification settings - Fork 31
Task exit syscall #334
Copy link
Copy link
Open
Labels
arch: noneAffects common code across architecturesAffects common code across architecturesenhancementNew feature or requestNew feature or request
Metadata
Metadata
Assignees
Labels
arch: noneAffects common code across architecturesAffects common code across architecturesenhancementNew feature or requestNew feature or request
Type
Fields
Give feedbackNo fields configured for issues without a type.
A task needs to be able to exit to free up resources and scheduler slots.
The syscall will take no arguments and free the task's resources. An optimisation will be to put the terminated process in a queue and have a specialised cleanup task free its resources whenever there's some idle time.