Enhanced C#
Language of your choice: library documentation
Classes
Loyc.Threading Namespace Reference

Helper classes for multithreaded code. More...

Classes

struct  SavedThreadLocal
 Designed to be used in a "using" statement to temporarily alter a ThreadLocal<T>. More...
 
struct  SavedValue
 Designed to be used in a "using" statement to temporarily alter a ThreadLocalVariable<T> or Holder<T> or something else implementing IHasMutableValue<T>. More...
 
struct  ScratchBuffer
 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
 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...
 

Detailed Description

Helper classes for multithreaded code.