Thread samples

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Marek zegarek

    #1

    Thread samples

    Hello!

    I'm trying to create application, that will query few servers by WMI and
    wrote result into XML.
    But there is one thing - I would like to query all servers in the same time
    and wrote results from WMI to specified files (i.e. servername.xml) .
    Something like:

    for each server in serverscollecti on
    run new thread for query server
    next

    Can someone give me a clear and simple sample about it? It's my first time
    with threads....

    Thanks
    Leszek


Working...