mirror of
https://github.com/drasko/codezero.git
synced 2026-02-10 00:43:15 +01:00
Exiting tasks use EXITING signal and change states to TASK_DEAD
This commit is contained in:
@@ -437,6 +437,11 @@ struct capability *cap_match_thread(struct capability *cap,
|
||||
if (!(cap->access & CAP_TCTRL_RECYCLE))
|
||||
return 0;
|
||||
break;
|
||||
case THREAD_WAIT:
|
||||
if (!(cap->access & CAP_TCTRL_WAIT))
|
||||
return 0;
|
||||
break;
|
||||
|
||||
default:
|
||||
/* We refuse to accept anything else */
|
||||
return 0;
|
||||
|
||||
Reference in New Issue
Block a user