Find the answer to your Linux question:
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 ...
  1. #1
    Just 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.

  2. #2
    Linux Guru anomie's Avatar
    Join Date
    Mar 2005
    Location
    Texas
    Posts
    1,692

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...