One technique for implementing lottery scheduling works by assigningprocesses lottery
Chapter 6, Problem 6.12(choose chapter or problem)
One technique for implementing lottery scheduling works by assigningprocesses lottery tickets, which are used for allocating CPU time. Whenevera scheduling decision has to be made, a lottery ticket is chosenat random, and the process holding that ticket gets the CPU. The BTVoperating system implements lottery scheduling by holding a lottery50 times each second, with each lottery winner getting 20 millisecondsof CPU time (20 milliseconds 50 = 1 second). Describe how the BTVscheduler can ensure that higher-priority threads receive more attentionfrom the CPU than lower-priority threads.
Unfortunately, we don't have that question answered yet. But you can get it answered in just 5 hours by Logging in or Becoming a subscriber.
Becoming a subscriber
Or look for another answer