In: Computer Science
List two ways in which the no-preemption condition can be prevented.
First, if a process holding certain resources is denied a further request, that process must release its original resources and, if necessary, request them again together with the additional resource. Alternatively, if a process requests a resource that is currently held by another process, the operating system may preempt the second process and require it to release its resources.
the operating system may preempt the second process and require it to release its resources