Threads (handlers) issue

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • csharpula csharp

    Threads (handlers) issue


    Hello,
    I got the following question , part of my future application I will run
    number of threads according to number of enteries in input xml file. How
    can I dynamically build handlers which will wait for those threads if I
    don't know before the runtime how many threads will be?

    Thank u!


    *** Sent via Developersdex http://www.developersdex.com ***
  • =?Utf-8?B?UGV0ZXIgQnJvbWJlcmcgW0MjIE1WUF0=?=

    #2
    Re: Threads (handlers) issue

    It's starting to sound like you want to study how to use the .NET Threadpool
    with the QueueUserWorkIt em method and a callback.
    -- Peter
    Site: http://www.eggheadcafe.com
    UnBlog: http://petesbloggerama.blogspot.com
    Short Urls & more: http://ittyurl.net


    "csharpula csharp" wrote:
    >
    My aim to create as much threads as will be in input and to get the
    result for each one of them. How can I create dynmically those functions
    which will check the thread results?
    >
    >
    *** Sent via Developersdex http://www.developersdex.com ***
    >

    Comment

    Working...