Results 1 to 2 of 2
Hi all
I am currently in the process of simulating the classic Producer-Consumer problem, and feel that my code is complete. I am using posix threads library, and working with ...
- 04-14-2007 #1Just Joined!
- Join Date
- Apr 2007
- Posts
- 1
Want an exact answer .. anyone?
Hi all
I am currently in the process of simulating the classic Producer-Consumer problem, and feel that my code is complete. I am using posix threads library, and working with mutexes and condition variables. I am stuck at one place, as I feel some starvation is taking place.
The solution to my problem lies in knowing how exactly is the scheduling performed by the OS (obviosly thru library functions), when several threads wait on a mutex and condition variable. So my question is :: IS THIS THE RIGHT PLACE TO DISCUSS THE INTRICACIES OF KERNEL OPERATIONS (IN THIS CASE, SCHEDULING) .. ??
In other words, is there a scope for starting a discussion forum on OS algorithms??
If am fortunate enough to have a reply from anyone interested, I will post my code here, and look to discusss it.
- 04-14-2007 #2


Reply With Quote