> >> My program is using the pth "cond" and "mutex"
> >> variables for synchronization between the threads.
> >> From a low priority thread, I am calling
> >> pth_cond_notify() and immediately a higher priority
> >> thread (which was there in the ready queue) was getting scheduled.
> >Well,
>> My program is using the pth "cond" and "mutex"
>> variables for synchronization between the threads.
>> From a low priority thread, I am calling
>> pth_cond_notify() and immediately a higher priority
>> thread (which was there in the ready queue) was getting scheduled.
>Well, that's
> I have some doubts regarding the way in which the Pth scheduler
> implements "Priority based non-preemptive Scheduling".
When a low-priority thread make a higher-priority thread ready-to-run, it
is offering the CPU to that higher-priority thread.
> My program is using the pth "cond" a
Hi,
I have some doubts
regarding the way in which the Pth scheduler implements"Priority
based non-preemptive Scheduling".
My program is
using the pth "cond" and "mutex" variables for synchronization between the
threads.
From a low priority thread, I am calling
pth_cond_notify() and imm