Resources for IT Professionals > Forums Home > Windows Tools Forums > Network Monitor > About NmConfigAdapter is callback model
Ask a questionAsk a question
 

QuestionAbout NmConfigAdapter is callback model

  • Sunday, November 01, 2009 7:44 AMwhossa Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

    Hi paul
       I'd like to know the callback model of NmConfigAdapter,  when one frame comes the callback got called, yet the callback seemingly was called in a serialized sequence as there are not so much thread I've noticed
      Are you using ThreadPool or I/O completion port inside or just enqueue every callback and process frame in a serialized mode?

All Replies

  • Wednesday, November 11, 2009 4:20 PMPaul E LongMSFT, OwnerUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

    We do not use ThreadPool nor I/O completion port in the capture engine’s context. The capture engine processes the frames serially.  We buffer frames before passing them on to the API so they are not dropped.  The I/O is read from the buffered frames.

    Paul