Merge implementations of priority scheduling by Themis and Saleh #11
@@ -219,6 +219,7 @@ thread_create (const char *name, int priority,
|
||||
|
||||
/* Add to run queue. */
|
||||
thread_unblock (t);
|
||||
thread_yield ();
|
||||
|
||||
return tid;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user