Kernel - Pth Thread Communication.

2004-06-21 Thread Vinu V
Hi, I am using Pth threads in the user space. I need to make one Pth thread waiting for a kernel event to occur. Could someone suggest me the best methods for implementing this ? Thanks Regards Vinu DISCLAIMER:This message (including attachment if any) is confidential and may be

Timer Implementation in Pth

2004-06-22 Thread Vinu V
Hi, My requirement is to have a timer implementation using Pth library. The call shown below causes the callback func to be called at the specified timeout: - --- main_func()

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 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