I am looking online for peterson's algorithm, and I cant seem to distinguish whether or not it is preemptive.
Preemptive - Non voluntary scheduling, and OS decides when to stop the process
Non-preemptive - Voluntarily giving up CPU once process is complete
I feel that peterson's algorithm seems to be non preemptive since there is no mention about priority of processes.
Is that correct? Would somebody be able to shed some light on this?