|
Enhanced C#
Loyc library documentation
|
Helper classes for multithreaded code. More...
Classes | |
| class | AmbientService< T > |
Holds the shared state behind an ambient service (the Ambient Service Pattern): a global default instance, plus an async-local override installed by Set in a using statement. More... | |
| struct | SavedThreadLocal< T > |
| Designed to be used in a "using" statement to temporarily alter a ThreadLocal{T}. More... | |
| struct | SavedValue< T > |
| Designed to be used in a "using" statement to temporarily alter a ThreadLocalVariable{T} or Holder{T} or something else implementing IMValue{T}. More... | |
| struct | ScratchBuffer< T > |
| Holds a single Value that is associated with the thread that assigned it. More... | |
| class | ThreadEx |
| Creates and controls a thread, and fills in a gap in the .NET framework by propagating thread-local variables from parent to child threads, and by providing a ThreadStarting event. More... | |
| class | ThreadLocalVariable< T > |
| Provides access to a thread-local variable through a dictionary that maps thread IDs to values. More... | |
| class | ThreadLocalVariableBase |
| When used with ThreadEx, implementing this base class allows you to be notified when a child thread is created or terminates. More... | |
| class | ThreadStartEventArgs |
| Used by the ThreadEx.ThreadStarting and ThreadEx.ThreadStopping events. More... | |
| struct | TinyReaderWriterLock |
| A fast, tiny 4-byte lock to support multiple readers or a single writer. Designed for low-contention, high-performance scenarios where reading is common and writing is rare. More... | |
Helper classes for multithreaded code.
1.8.7