Merge implementations of priority scheduling by Themis and Saleh #12

Closed
td1223 wants to merge 10 commits from task1/priority-scheduling into task1/merged/priority-scheduling
3 changed files with 22 additions and 3 deletions
Showing only changes of commit 54b46806ba - Show all commits

View File

@@ -219,6 +219,7 @@ thread_create (const char *name, int priority,
/* Add to run queue. */ /* Add to run queue. */
thread_unblock (t); thread_unblock (t);
thread_yield ();
return tid; return tid;
} }