c - Program Priority on Lubuntu -


given single processor virtual machine running lubuntu, wondering if possible tie processor no other program can run instructions.
example, if program , program b run @ same time, possible set priority of program (in source using setpriority() function) run before program b , tie processor program b cannot execute?

with right priviliges possible call 'sched_setscheduler' give process real time priority. such process not interrupted ordinary processes or other real time processes lower priority. such real time processes lose cpu when give doing call sleep or waiting io. given cpu able work again , cpu not needed real time process higher priority.


Comments

Popular posts from this blog

jquery - How do you format the date used in the popover widget title of FullCalendar? -

Bubble Sort Manually a Linked List in Java -

asp.net mvc - SSO between MVCForum and Umbraco7 -