Click here to Skip to main content
15,894,362 members

Comments by Anil Vittal (Top 9 by date)

Anil Vittal 4-Jun-15 10:11am View    
Thanks Andy. From above solution, I got that, you provided another security for my code in "CriticalMethod" by keeping extra checking using "if" loop before "lock" statement. I do not find any importance of "if" loop within "lock" because _isBusy would be made "false" in previous thread(before executed thread). Did I miss something :)?
Anil Vittal 28-May-15 11:17am View    
Sorry for troubling you :) I updated the question now.Changed initial value of "pause" variable to "true",last paragraph added,commented assigning pause to false in "CriticalMethod".
Anil Vittal 28-May-15 10:49am View    
Thank you Andy.

These are few queries from me.

1) What is the importance of "MyList"?
2) Not able to determine global variables and method level variables!!
3) I request you to share improved pseudo code.

Actually, I am tired this time :-) That's why these questions.

Thanks and Regards,
Anil
Anil Vittal 28-Nov-14 0:45am View    
Hi SA,

Thank you for your comments.My priority was different for these days.Working on this.Will update you the results with my experiments.
Anil Vittal 18-Nov-14 10:17am View    
So I keep long run under debugger and put break point in "catch" block to catch the appropriate exception.I will look for the exception on next day morning.By the way, for which thing I have to pay attention in "Call stack" window when debugging.I never paid attention in my experience for this window.Please give me an overview on using that window and whats the critical information we can find out and how it is useful.Thank you for your inputs.