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

asp.net mvc - SSO between MVCForum and Umbraco7 -

Python Tkinter keyboard using bind -

ubuntu - Selenium Node Not Connecting to Hub, Not Opening Port -