Resources for IT Professionals > Forums Home > Windows Tools Forums > Network Monitor > Is it possible to analysis cap in Multi thread?
Ask a questionAsk a question
 

QuestionIs it possible to analysis cap in Multi thread?

  • Monday, October 26, 2009 3:09 AMWaJaJa Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

    As single thread to anlysis the cap files is very slowly,so I want let every file have a NetMon engine to do the anlysis ,but it seems cann't initialize the NetMon engine if I use ThreadPool in C# to do this.
    Any help will be appreciate  ^_^ .

All Replies

  • Tuesday, October 27, 2009 5:17 PMPaul E LongMSFT, OwnerUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

    What OS are you working on? 

    Depending on the OS, there are different steps to set this up.  The section in the help Network Monitor API->Network Monitor API Overview->Working with Multi-Threaded Code should give you the info you need.

    Just be sure to understand that parsing a file is a serial operation.  If the informaiton from file10 is relate to the capture info in file1, there may be a dependency that file1 has to be parsed first.  But this depends on the data you need to gather from the file.

    Thanks,

    Paul