15,894,362 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View Python questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
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.
Anil Vittal
17-Nov-14 7:28am
View
Hi Sathish,
Basically that is my application requirement. UI is there for controlling runs.
User opens a script and runs it for the time he requires.Then he stops.He can also create new scripts using UI and performs runs.In between if he does not satisfy with the values ,then he stops it and then changes values and performs run.That script execution time
depends on his requirement.He may opt for infinite time(if script need to run for long time).So it runs on weekend and next week morning he simply stops it and analyzes the results.In this process my UI hanging up.
Note:So in a run, my windows service is called periodically from UI to pass data present in the script.Service performs required things for given data.
Thanks and Regards,
Anil
Anil Vittal
17-Nov-14 5:23am
View
:) Clever reply :)
Anil Vittal
17-Nov-14 5:22am
View
Hi Sergey,
I am glad!!, you took time to help me:) Thanks for your comments.They will definitely help.
For your reference,today I added some pseudo code of my logic and hunch for the problem.Please review.
Thanks and Regards,
Anil
Anil Vittal
17-Nov-14 5:16am
View
Hi,
Thank you for your suggestions.
I added sample code/pseudo code for your reference as well as my hunch for the problem.
Please review.
Thanks and Regards,
Anil
Show More