threading problem

Discussion in 'C#' started by gauravkrgarg, Aug 7, 2007.

  1. gauravkrgarg

    gauravkrgarg New Member

    Joined:
    Aug 7, 2007
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    0
    I need to write a code for dispatcher

    there three threads
    thread work is to read a record from hast table .and after that it goes to sleep for 10 sec
    after 10 sec it is free i.e idle state


    when they are in idle state the dispatcher should know which thread is in sleep state assign a new thread
    if u know it . i will be thankful to u
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice