A predictable active thread pool where work items are queued as delegates and you control the pool size.
NTDLS.Semaphore Usage
Critical resources and semaphores for C# with pessimistic and optimistic locking, timeouts and deadlock-prevention patterns.
NTDLS.Semaphore
Provides various classes for to ensure sequential mult-threaded access to variables or sections of code.
NTDLS.DelegateThreadPooling
High performance active thread pool where work items can be queued as delegate functions. Allows you to easily enqueue infinite FIFO worker items or enforce queue size, wait on collections of those items to complete, and total control over the pool size. Also allows for multiple pools, so that different workloads do not interfere with one another.
For far too long I have listened to the likes of those who believe that the volatile modifier is the end-all answer to multi-threaded development.
Suspend Process
A C console utility that attaches to a process by PID with DebugActiveProcess, leaving it suspended until the debugger detaches.
NT Fiber
A minimal C++ program that converts the main thread to a fiber, creates a second fiber, and switches between them.
Affinity Priority Fiber
A console snippet that pins a process and thread to a specific CPU using affinity masks and ideal-processor calls.
Create Thread
A console snippet that spawns a second thread with CreateThread and lets both threads print in parallel.
Signal Event
A pair of C programs demonstrating cross-process synchronization with a named event — one waits on it, the other finds and signals it.