I use a free program called ProcessLasso (Google it) to change the priority of my GPU tasks from "idle" or "below normal" to "normal" to prevent the CPU from starving during processing. I believe it has a "real time" setting. Don't think this can be done through BOINC itself. Can't be sure, but I believe if you have Boinc set to use 100% of your CPU a "real time" setting in ProcessLasso will produce a crippling amount of lag.
process lasso will do it, but as stated you will be crippling your computer. (speaking from experience)
very few thing in life/computer need to be run in real time. so you tie up a core(cpu) or more and every time it needs data that is not in l1/l2 cache it will sit and wait till it get the data.
now if your program and all the data that it will ever need can be loaded into l1 cache for that core and it never has to leave to get data out in memory or the disk than ok,
but I don't know of any programs/boinc apps that are that small.
setting too many apps/programs to real time all at once and you will have to pull the plug, and if it is boinc and you have it set to auto start at login/bootup,
you will need to go into safe mode to remove the priority setting from process lasso if you use the force option to keep it there. and if you don't use the force option, windows will set it back to a lower priority anyway...