Exiting tasks use EXITING signal and change states to TASK_DEAD

This commit is contained in:
Bahadir Balban
2009-10-31 23:13:19 +02:00
parent 5ed93b6563
commit 850c645d77
9 changed files with 54 additions and 5 deletions

View File

@@ -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;