Red Gate forums :: View topic - Waiting for synchronization / Waiting for user interaction
Return to www.red-gate.com RSS Feed Available

Search  | Usergroups |  Profile |  Messages |  Log in  Register 
Go to product documentation
ANTS Performance Profiler 7
ANTS Performance Profiler 7 forum

Waiting for synchronization / Waiting for user interaction

Search in ANTS Performance Profiler 7 forum
Post new topic   Reply to topic
Jump to:  
Author Message
rehmanmansoor



Joined: 09 Jan 2013
Posts: 1

PostPosted: Wed Jan 09, 2013 7:18 am    Post subject: Waiting for synchronization / Waiting for user interaction Reply with quote

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
Back to top
View user's profile Send private message
Brian Donahue



Joined: 23 Aug 2004
Posts: 6646

PostPosted: Wed Jan 09, 2013 11:10 am    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic All times are GMT + 1 Hour
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group