autoresetevent
Updating an ObservableCollection<T> asynchronously results in hangs, and no GUI update
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[详细]
2023-04-01 16:59 分类:问答Timer event does not fire until WaitOne times out
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[详细]
2023-03-31 20:37 分类:问答AutoResetEvent process?
private ConcurrentQueue<Data> _queue = new ConcurrentQueue<Data>(); private AutoResetEvent _queueNotifier = new AutoResetEvent(false);[详细]
2023-03-21 01:57 分类:问答C# main thread is blocked by second thread using signaling?
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:[详细]
2023-03-20 19:46 分类:问答Thread persists after application termination due to AutoResetEvent signal in WaitOne state
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[详细]
2023-03-18 04:37 分类:问答Wrap an AutoResetEvent object in a restricted WaitHandle?
I\'ve built a library that launches a thread to do it\'s thing and returns a WaitHandle to the caller.[详细]
2023-03-12 07:48 分类:问答Using AutoResetEvent to signal worker thread
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[详细]
2023-03-03 23:55 分类:问答IObservable - Replacing AutoResetEvent
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.[详细]
2023-02-14 05:14 分类:问答Win32 reset event like synchronization class with boost C++
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()[详细]
2023-02-04 14:29 分类:问答Is there a WaitOne method that essentially calls Reset first?
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[详细]
2023-01-24 05:06 分类:问答