NanoByte.Common 2.11.0
NanoByte.Common.Threading Namespace Reference

Helpers for working with threads. More...

Classes

class  ActionExtensions
 Provides extension methods for Action<T> More...
 
class  AsyncFormWrapper
 Lazily starts a separate thread with a message loop for a Form. More...
 
class  CancellationGuard
 Ensures that a block of code running on a background thread cleanly exits before a CancellationTokenSource.Cancel() call completes. More...
 
class  FuncExtensions
 Provides extension methods for Func<TIn,TOut> More...
 
class  JobQueue
 Runs jobs on a single background thread that is started and stopped on demand. More...
 
class  MarshalNoTimeout
 Derive from this class to enable remoting without timeouts. Keeps remoting object alive as long as process is running. More...
 
class  MutexLock
 Provides a wrapper around Mutex that automatically acquires on creating and releases on Dispose. More...
 
class  SynchronousProgress
 Reports progress updates using callbacks/events. Performs the callbacks immediately on the same thread. More...
 
class  ThreadUtils
 Provides helper methods for launching Threads. More...
 
class  WaitHandleExtensions
 Provides extension methods for System.Threading.WaitHandle. More...
 
class  WaitTask
 Waits for a WaitHandle to become available. More...
 

Detailed Description

Helpers for working with threads.