I\'m implementing a visual version of Tracert (as a learning exercise) in WPF where results go to a listbox.The issues are (1) the listbox bound to tracertDataView is not updating, but (2) my entire a
I have a timer that fires periodically to check for new data. Occasionally, I need the timer to fire immediately and I need to wait for timer handler to do its thing before continuing. I tried having
private ConcurrentQueue<Data> _queue = new ConcurrentQueue<Data>(); private AutoResetEvent _queueNotifier = new AutoResetEvent(false);
GetFiles creates the second thread which calls CopyFiles, I am just trying to fill the listbox with the file name each time a file is copied, but once code hits line:
I have an application that uses an AutoResetEvent (WaitOne/Set) in a queue for processing messages.I\'m noticing that when I terminate the a debug session from Visual Studio (Shift+F5) the original pr
I\'ve built a library that launches a thread to do it\'s thing and returns a WaitHandle to the caller.
I have a service that is running constantly processing data, it receives requests to process new data through messaging. While it\'s busy processing new requests get merged together so that they are t
Just wondering how I can replace the AutoResetEvent in the below? I was trying to think how to do it the RX way or with tasks, but I can see how to do it.
I need some mechanism reminiscent of Win32 reset events that I can check via functions having the same semantics with WaitForSingleObject() and WaitForMultipleObjects() (Only need the ..SingleObject()
I\'m using an AutoResetEvent where multiple Set calls can be made on an event (Exception handling).There are times when an extra Set is called, thus when the code makes a second call on a WaitOne even