Waiting for synchronization / Waiting for user interaction

Hi,

Im using ANTS Performance Profiler 7 in out silverlight application and on the from the profile result its showing me Waiting for synchronization or Waiting for user interaction as the method name which cost almost 70% of the processing time .

so can someone guide me why im getting this rather than a method name which is in waiting position or any thing which is meaningful

Thanks is advance
RM

Comments

  • Brian DonahueBrian Donahue Posts: 6,590 Bronze 1
    Waiting for synchronization is (most of the time) an indication that the thread is held up waiting for another thread to complete. In the current version of ANTS, you can't realistically tie that back to a stack for the worker thread in question - you just have to look at the code leading up to that and see in the code what asynchronous method that spawned.

    Sometimes you may see a thread with nothing but "waiting for synchronization" - that usually indicates some thread pool managed by .NET that has spawned a bunch of threads that just sit there, waiting to be assigned some work.
Sign In or Register to comment.