Pth Scheduling Policy

2004-10-13 Thread Vinu V
Hi, I have some doubts regarding the way in which the Pth scheduler implements"Priority basednon-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

RE: Pth Scheduling Policy

2004-10-13 Thread David Schwartz
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 and

RE: Pth Scheduling Policy

2004-10-13 Thread Vinu V
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 the purpose of

RE: Pth Scheduling Policy

2004-10-13 Thread David Schwartz
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 the purpose