Redesign scheduling points
All checks were successful
Build documentation / build-and-deploy (push) Successful in 35s

This commit is contained in:
2026-01-30 02:36:27 +01:00
parent d2f5c032d9
commit 124aa12f5b
9 changed files with 60 additions and 35 deletions

View File

@@ -51,7 +51,9 @@ struct proc_resource* proc_create_resource_mutex (struct procgroup* procgroup, i
return resource;
}
void proc_delete_resource (struct proc_resource* resource) {
resource->ops.cleanup (resource);
bool proc_delete_resource (struct proc_resource* resource) {
bool reschedule = resource->ops.cleanup (resource);
free (resource);
return reschedule;
}