Threading code snippets (21)
How to enumerate windows threads
Published: 12. February 2012 | Updated: 12. February 2012Categories: Windows
Tags: C# Threading Win32 Windows WMI
How to implement thread safe Singleton
Published: 1. February 2012 | Updated: 1. February 2012Categories: Implementations
Tags: C# Design Patterns Threading
How to terminate thread
Published: 3. November 2011 | Updated: 3. November 2011Categories: Threading
Tags: C# Threading
How to find out whether thread is alive
Published: 3. November 2011 | Updated: 3. November 2011Categories: Threading
Tags: C# Threading
How to find out whether thread belongs to the managed thread pool
Published: 3. November 2011 | Updated: 3. November 2011Categories: Threading
Tags: C# Threading
How to get/set thread to background
Published: 3. November 2011 | Updated: 3. November 2011Categories: Threading
Tags: C# Threading
How to get thread state
Published: 3. November 2011 | Updated: 3. November 2011Categories: Threading
Tags: C# Threading
How to get/set thread priority
Published: 3. November 2011 | Updated: 3. November 2011Categories: Threading
Tags: C# Threading
How to get/set thread name
Published: 3. November 2011 | Updated: 3. November 2011Categories: Threading
Tags: C# Threading
How to sleep/suspend thread
Published: 24. October 2011 | Updated: 26. October 2011Categories: Threading
Tags: C# Threading
How to exchange objects as an atomic operation
Published: 24. October 2011 | Updated: 26. October 2011Categories: Threading
Tags: C# Threading
How to adds two integers as an atomic operation
Published: 24. October 2011 | Updated: 26. October 2011Categories: Threading
Tags: C# Threading
How to increment integer as an atomic operation
Published: 24. October 2011 | Updated: 26. October 2011Categories: Threading
Tags: C# Threading
How to decrement integer as an atomic operation
Published: 24. October 2011 | Updated: 26. October 2011Categories: Threading
Tags: C# Threading
How to read 64-bit value as an atomic operation
Published: 24. October 2011 | Updated: 26. October 2011Categories: Threading
Tags: C# Threading
How to exchange values with comparision as an atomic operation
Published: 24. October 2011 | Updated: 26. October 2011Categories: Threading
Tags: C# Threading
How to list process threads
Published: 9. October 2011 | Updated: 26. October 2011Categories: Processes
Tags: C# Threading Windows
How to get thread id
Published: 25. October 2011 | Updated: 25. October 2011Categories: Win32
Tags: C# Threading Win32 Windows
How to get / set current culture
Published: 27. January 2009 | Updated: 11. October 2011Categories: Globalization
Tags: C# Globalization Threading
How to start thread with parameter
Published: 21. December 2008 | Updated: 21. December 2008Categories: Threading
Tags: C# Threading





