Quantcast
Channel: Keep main program waiting
Browsing latest articles
Browse All 4 View Live

Keep main program waiting

and  how you handle windows event? i mean once windows tell the application to close...my task never done, but user may want to finish it... so it click over CMD close button, and it generate an error,...

View Article



Keep main program waiting

When migrating legacy code to the new async framework, TaskCompletionSource is your friend :)http://msdn.microsoft.com/en-us/library/dd449174.aspxinternal class Program { private...

View Article

Keep main program waiting

Ok, I already changed base of timer component, so its provide with new methods, the Stop() which was incompletely available, TryStop(int timeout) and Terminate()The Stop, will wait for lock object to...

View Article

Keep main program waiting

Hello there, i have an application, which is multi thread...public class Program { static void Main(string[] args) { //Program p = new Program(); //p.CreateSqlDatabase(); //p.RunLogParser();...

View Article
Browsing latest articles
Browse All 4 View Live




Latest Images