Added wakeup call during exit in case pager was trying to suspend us.

This commit is contained in:
Bahadir Balban
2009-10-30 12:45:31 +02:00
parent 26aa62d2ea
commit 118fc795d9
5 changed files with 30 additions and 5 deletions

View File

@@ -444,6 +444,7 @@ int sys_thread_control(unsigned int flags, struct task_ids *ids)
case THREAD_RECYCLE:
ret = thread_recycle(task);
break;
default:
ret = -EINVAL;
}