Click here to Skip to main content

Threads, Processes and IPC

General Programming » Threads, Processes & IPC
 

Threads and Processes - General 

top
Title / Updated Author Score  
A .NET-like ReaderWriterLock Class In Native C++
Updated: 19 Oct 2007
A very efficient reader-writer lock class in C++ that is similar to the .NET ReaderWriterLock one
VC7.1, Windows, Visual-Studio, Dev
 
Quynh Nguyen 4.98
Walking the callstack
Updated: 14 Nov 2005
This article describes the (documented) way to walk a callstack for any thread (own, other and remote). It has an abstraction layer, so the calling app does not need to know the internals.
VC6, VC7, VC7.1, VC8.0, Win2K, WinXP, Win2003, VS.NET2003, VS2005, Dev
 
Jochen Kalmbach [MVP VC++] 4.96
Dynamically Add/Edit Environment Variables of Remote Process
Updated: 30 Dec 2008
Dynamically Add/Edit Environment variables of Remote process
C++ (VC8.0, VC9.0), Windows (Win2K, WinXP, Win2003, Vista), Win32
 
Sarath. 4.96
Entering Ring 0 using minimalistic approach - Unedited
Updated: 21 Jun 2008
Kernel adventures of brave developer and other scary tales
C++
 
Ladislav Nevery 4.96
Timeout Functions
Updated: 11 Dec 2008
This article explains about executing a function within a time limit. Also includes a helper class which helps to implement timeout functions easily. This article deals with running multiple timeout processes each with time limit.
C#2.0, Windows, .NET2.0, Dev
 
N a v a n e e t h 4.95
Concurrency Hazards: False Sharing
Updated: 10 Jan 2010
False sharing and how to detect and avoid it.
C#, .NET, Architect, Dev
 
Nicholas Butler 4.95
Redirecting an arbitrary Console's Input/Output
Updated: 27 Nov 2003
Redirecting an arbitrary console's input/output in a simple, graceful way
VC6, VC7, VC7.1, Win2K, WinXP, Win2003, MFC, VS.NET2003, Dev
 
nickadams 4.93
Superlinear: an investigation into concurrent speedup - Unedited
Updated: 11 Oct 2009
Making more of your cores
C# (C#3.0), .NET (.NET3.5), Visual-Studio (VS2008), Dev
 
Nicholas Butler 4.92
Task Parallel Library: 4 of n - Unedited
Updated: 10 May 2011
A look into using the Task Parallel Library.
C# (C#4.0), .NET (.NET3.5), Visual-Studio (VS2010), Architect, Dev, Threading
 
Sacha Barber 4.92
Mutex Process Identifier
Updated: 23 Jul 2010
A simple workaround for identifying the owner process of a mutex.
C#, .NET, Dev, AT
 
Zozel 4.89
Universal Console Redirector
Updated: 24 Nov 2003
Launch a console process from your GUI app and receive its output, even from Win9x
VC6, VC7, Win2K, WinXP, MFC, WTL, Dev
 
umeca74 4.89
Creating New Threads From VB Applications
Updated: 22 Apr 2004
A component to execute a COM method in a separate thread.
VB6, VC6, Win2K, WinXP, Win2003, Dev
 
Xiangyang Liu 刘向阳 4.88
A Standard Multi-threaded Dynamic Queue
Updated: 29 Oct 2010
This is a standard Windows / C++ implementation of a multi-threaded queue.
C++, Windows, Dev, Threading
 
federico.strati 4.88
The Super Pool Framework
Updated: 31 Aug 2010
The Super Pool is a framework for decoupled communication and management of components. The Super Pool introduces a natural asynchronous communication environment into your solution that can be fluently spread over different components, threads, processes, or even computers or networks.
C#, Windows, .NET, Dev
 
Deyan Timnev 4.87
An MFC Process Class
Updated: 25 Oct 2001
This class allows you to create a child process and receive notification of its output.
VC6, Win2K, MFC, Dev
 
Joseph M. Newcomer 4.86
RMI for C++
Updated: 6 Aug 2009
User-friendly remote method invocation in C++.
VC7.1, WinXP, VS.NET2003, Dev
 
Jarl Lindrud 4.86
Fast critical sections with timeout
Updated: 27 May 2007
A faster and lighter ciritcal section implementation.
C++, Windows, Visual-Studio, Dev
 
valdok 4.83
Auto and Manual Reset Events Revisited
Updated: 17 Aug 2009
An article on when to use Auto and Manual Reset Events.
C#, Windows, .NET, Win32, Architect, Dev, Design
 
Sanjeev Venkat 4.82
Comparison between Different Methods to Iterate Over a List of Items
Updated: 7 Mar 2011
Comparison between different methods to iterate over a list of items and see which method is the most effective
C#, Windows, VS2010, Architect, Dev, QA, Threading
 
Michael Bookatz 4.80
Real-Time Console Output Redirection
Updated: 31 Oct 2006
Console process output flushing is no longer a problem with this little stub.
VC6, Win2K, WinXP, Win2003, Dev
 
_Olivier_ 4.79
Thread Proxy Mediator Pattern
Updated: 22 Jul 2008
The Thread Proxy Mediator Pattern (TPMP) is a behavioral design pattern that solves many of the problems that plague GUI developers.
C#, WPF, Dev
 
Michael Birken 4.77
Halt! Who Goes There?
Updated: 18 Sep 2003
Demonstrates the various wait functions used for thread synchronization in a multi-threaded application.
VC6, VC7, VC7.1, Win2K, WinXP, Win2003, MFC, Dev
 
«_Superman_» 4.77
Stealing Program's Memory
Updated: 2 Dec 2003
An advanced article on allocating and using memory in another process using the Win32 API.
VC7.1, Win2K, WinXP, Win2003, VS.NET2003, Dev
 
Cory Nelson 4.76
EzProcess
Updated: 20 Oct 2007
A processes and threads manager application.
C++, ASM, Win2K, WinXP, Win2003, Visual-Studio, Dev
 
akyprian 4.74
A common class for executing tasks with a responsive UI
Updated: 24 Jan 2009
Execute actions while making the form wait and still be responsive to other tasks.
C#, Windows, .NET, Visual-Studio (VS2005, VS2008), Architect, Dev, WinForm
 
Paul B. 4.73
TimeCop - a tool for detecting time-constraint violations
Updated: 23 Nov 2007
This article demonstrates a tool for detecting situations when certain code region execution times exceed the specified timeout, and provides a run-time reaction mechanism for these situations.
C++, Win2K, WinXP, Win2003, Vista, TabletPC, Embedded, Visual-Studio, Architect, Dev, Design
 
Mike65536 4.71
Create a Synchronizing Object
Updated: 25 Aug 2009
How to create a synchronizing object using the ISynchronizeInvoke interface like in the FileSystemWatcher.
C#1.0, C#2.0, C#3.0, .NET, Dev, WinForm
 
Paw Jershauge 4.71
PostThreadMessage Demystified
Updated: 14 Jul 2011
How and Where to use it!
C++ (VC6, VC7, VC7.1, VC8.0, VC9.0, VC10.0)
 
ThatsAlok 4.67
Windows Memory Management
Updated: 25 Sep 2008
This article discusses how the Windows Memory Manager works
Windows, Architect
 
logicchild 4.67
Win32 process suspend/resume tool
Updated: 3 Oct 2002
A small handy command line tool for suspending/resuming the running of entire processes on Windows
VC7, Win2K, WinXP, Dev
 
Daniel Turini 4.65
Extending Task Manager with DLL Injection
Updated: 19 May 2005
How to extend the features of Windows Task Manager using DLL injection.
VC7, VC7.1, VC8.0, Win2K, WinXP, Win2003, VS.NET2003, VS2005, Dev
 
rocky_pulley 4.64
Windows Thread Pooling and Execution Chaining
Updated: 26 Apr 2004
An article that describes a template based thread pool implementation with execution chaining
VC6, VC7, VC7.1, Win2K, WinXP, Win2003, VS.NET2003, Dev
 
PlugwareSolutionsLtd 4.64
Multithreaded Job Queue
Updated: 21 May 2003
An article to implement a Multithreaded Asynchronous Job Queue which also pools threads.
VC6, VC7, Win2K, WinXP, MFC, Dev
 
Pradeep Kumar Sahu 4.64
CaptureConsole.DLL - A Universal Console Output Redirector for all Compilers
Updated: 28 Oct 2010
Capture Console Output
VB6, C++, C#, Java, .NET
 
Elmue 4.64
CRWCriticalSection : Another solution to the readers/writers problem with time-out
Updated: 27 Oct 2003
A class for synchronizing reader and writer threads
VC6, Windows, Dev
 
BadJerry 4.63
Asynchronously Execute PowerShell Scripts from C#
Updated: 29 Aug 2008
How to host and asynchronously run PowerShell scripts from C#
C#2.0, .NET2.0, WinXP, Vista, .NET3.0, VS2005, VS2008, Dev
 
jpmik 4.63
Producer/Consumer Implementation Using Thread,Semaphore and Event
Updated: 6 Jul 2004
Using thread, semaphore and event classes to implement a specific version of Producer/Consumer model
VC6, Windows, Visual-Studio, Dev
 
liyang yu 4.61
How To Create a Self-Restartable Application
Updated: 21 Aug 2006
This article describes the way to add restarting support to your Win32 applications.
C++, Windows, Visual-Studio, WTL, Dev
 
Alexander D. Alexeev 4.57
Waiting for Parallel Execution using delegate.BeginInvoke/.EndInvoke
Updated: 7 Apr 2010
Waiting for parallel execution needs no stuff like Callbacks or WaitHandles
C# (C#3.0), VB (VB9.0), .NET (.NET3.5), Dev
 
Mr.PoorEnglish 4.53
Monitoring of Logon/Logout in Terminal and Client Sessions
Updated: 6 Dec 2010
This article includes a description of the monitoring process for the session logon/logout, connect/disconnect (regarding terminal and client sessions). Obtained results will be then used in the next article ”Creating process in the session”.
C++, Windows, Architect, Dev, Threading, Process, multithreading, Boost
 
Apriorit Inc, Elizaveta Golub 4.50
Single Instance Application, Passing Command Line Arguments
Updated: 15 Aug 2006
This article shows how to make sure that only one instance of an application will run, and if a second instance is started, it will call a callback function in the first instance, passing its command line arguments. The solution uses .NET Remoting for the callback.
C#, Windows, .NET2.0, VS2005, Dev
 
kian01 4.50
Tricky Programming on Multi-Core Processors
Updated: 29 Feb 2008
An article on experiments with multithreading on a multi-core processor
C#, .NET (.NET3.5), Dev
 
Zaur Nasibov 4.47
TLS: An exercise in concurrent programming - Unedited
Updated: 11 May 2008
A walkthough about multi-threading an app and a useful helper class
C#3.0, .NET3.5, WPF, Architect, Dev
 
Nicholas Butler 4.46
Interprocess communication tutorial
Updated: 7 Oct 2001
Using memory mapped files, mutexes and HWND_BROADCAST messages for interprocess communication
VC6, Win2K, Dev
 
Alex Fr 4.46
Enforcing Single Instance of a Hidden-Window Application
Updated: 17 Nov 2006
Yet another article on single instance, but with a twist.
C#, Windows, .NET1.1, VS.NET2003, Dev
 
drdre2005 4.44
Performing a hex dump of another process's memory
Updated: 6 Sep 2003
An article on examining process memory
VC6, WinXP, Dev
 
weariless 4.43
Improved Multi-Threading Support in .NET 4.5
Updated: 27 Oct 2011
Quick overview of the new language support for asynchonous programming in .NET 4.5.
C#, .NET, Dev, Threading
 
Lee Robie 4.40
Improved Threading & UI integration under .NET 2.0
Updated: 22 Jan 2007
Improving threading and UI integration with .NET 2.0
Windows, Visual-Studio, Dev
 
Gary J. Kuehn 4.40
Simplify the Use of Thread Local Storage
Updated: 14 Apr 2002
A template class to simplify and provide type safe access to Thread Local Storage data.
VC6, Win2K, Dev
 
Maxime Labelle 4.40
Asynchronous stream reader with progress bar support
Updated: 14 Apr 2009
Asynchronous stream reader with progress bar support.
C#, .NET, Dev
 
mbostjan 4.38
Fault Protection: Using Windows Exception Filters
Updated: 2 May 2004
An article illustrating practical uses of SetUnhandledExceptionFilter
VC6, VC7.1, Win2K, WinXP, Win2003, VS.NET2003, Dev
 
PlugwareSolutionsLtd 4.37
Handle Management - Complete Solution
Updated: 6 May 2002
A utility class to manage the mapping of objects to handles.
VC6, VC7, Win2K, WinXP, Visual-Studio, MFC, STL, Dev
 
Matt Gullett 4.36
Another Thread Pool
Updated: 6 May 2010
A simple thread pool with minimal dependencies
C++ (VC6, VC7, VC7.1, VC8.0, VC9.0), Windows (Win2K, WinXP, Win2003, Vista, Win2008, Win7, Win2008-R2), Win32, Visual-Studio (VS2005, VS2008, VS2010), MVC, Dev
 
imagiro 4.33
Threads, Process, and AppDomains
Updated: 30 May 2009
An article for the beginner to help understand Application Domains
C# (C#1.0, C#2.0, C#3.0)
 
logicchild 4.33
Threads with MFC
Updated: 1 Feb 2003
Multithreading Programming with a MFC environment.
VC6, VC7, Win2K, WinXP, MFC, Dev
 
Aria Ansari 4.33
Asynchronous Stream Reader and Writer with Progress Support
Updated: 21 Apr 2009
AsyncStreaming
C# (C#1.0, C#2.0, C#3.0), .NET (.NET2.0, .NET3.0, .NET3.5)
 
mbostjan 4.27
There can be only one...
Updated: 1 Apr 2002
Limiting an application to a single instance.
C++/CLI, VC6, VC7, .NET, Win2K, WinXP, Visual-Studio, MFC, WTL, Dev
 
Niek Albers 4.24
The .NET Asynchronous I/O Design Pattern
Updated: 19 Feb 2010
Asynchronous operations allow a program to perform time consuming tasks on a background thread while the main application continues to execute. However, managing multiple threads and cross-thread communication adds complexity to your code. Fortunately, the .NET Framework has a useful Design Pattern
C#, Windows, Dev
 
Mike Gavaghan 4.21
How To Make Your Application Delete Itself Immediately
Updated: 2 Dec 2008
A simple two line technique that can be used in just about any application
C#, Windows (Win2K, WinXP, Win2003, Vista), .NET (.NET1.0, .NET1.1, .NET2.0, .NET3.0, .NET3.5), Win32, Win64, MFC, Dev, WinForm
 
alexdresko 4.18
Raising Events from Other Threads
Updated: 21 Jun 2008
A generic function helps to avoid "CrossThreadCall-Exception" when raising events from side-threads
VB8.0, Windows, .NET2.0, VS2005, Dev
 
Mr.PoorEnglish 4.17
Get CPU Usage with GetSystemTimes
Updated: 20 Dec 2004
Get CPU usage with GetSystemTimes.
VC6, VC7, VC7.1, WinXP, Win2003, VS.NET2003, Dev
 
ejor 4.17
Threading is easy (A simple thread, thread pool, object pool, and more)
Updated: 9 Oct 2007
This simple library provides an implementation of almost all aspects of multithreaded programming.
VC6, VC7, VC7.1, VC8.0, Windows, VS.NET2003, VS2005, Dev
 
soptest 4.14
Real Multi-threading in .NET 2.0
Updated: 5 Nov 2006
A real multithreading example managing more than one thread
C#2.0, .NET, WinXP, VS2005, Architect, Dev
 
Jose Luis Latorre 4.13
A simple Win32 readers/writers lock with reentrance
Updated: 23 Jan 2006
A simple implementation of a readers/writers lock with support for reentrance and lock escalation.
C++, C#, Windows, .NET2.0, VS2005, Dev
 
Flavio.Antonioli 4.09
Idiot's Guide to Grid Computing - Part I
Updated: 4 Jun 2007
How to use grid computing with Alchemi.
C#2.0, Windows, .NET2.0, VS2005, Dev
 
Styx13 4.09
Simple Multithreaded Application in pure C, Win32 and MFC
Updated: 30 Nov 2003
This article explains how to create simple multithreaded applications in C Run Time Library, Microsoft Foundation classes and Win32 API functions.
VC6, Windows, Dev
 
R.selvam 4.08
A ThreadPool implementation
Updated: 22 May 2005
This article describes a ThreadPool implementation.
VC6, VC7.1, Windows, VS.NET2003, Dev
 
Ratner Yuri 4.07
A "synchronized" statement for C++ like in Java
Updated: 18 Dec 2005
Design and implementation of a "synchronized" C++ statement that works like the one in Java.
C++, Windows, Visual-Studio, Dev
 
Achilleas Margaritis 4.03
A Generic Task/Worker Implementation
Updated: 1 May 2011
A generic task/worker implementation to provide asynchronous 'fire & forget' mechanism for your object
C++, Windows, TR1
 
Vinith B Raj 4.00
Logging For Multi Threaded Applications
Updated: 26 Oct 2004
Logging For Multi Threaded Applications
C++, Windows, Visual-Studio, Dev
 
Cheeran Santhosh 4.00
Remote Code/Process Injection and Relocation
Updated: 18 Sep 2009
A method to inject an entire executable into another process (thereby avoiding the need for a DLL)
C++ (VC9.0), C, Windows, Win32, Dev
 
dengus 3.93
Examining Function Calls using the Console Debugger
Updated: 25 Jul 2009
An article to teach troubleshooting by examining functions called by threads
C++, Windows, SysAdmin
 
logicchild 3.83
Java Generic Code - Taking Control of Threaded Actions
Updated: 27 Jun 2004
A simpler way to use Threads
Java, Dev
 
Doron Barak 3.76
Writing a Folder Synchronization Application
Updated: 8 Nov 2010
This articles uses light threading, mutex, and simple algorithm to determine file to synchronize
C#, Threading, Synchronize
 
John Kenedy S.Kom 3.67
How to Create an "unkillable" Windows Process
Updated: 12 Oct 2010
This article explains how to implement a relatively eternal process.
C++, Windows
 
Slava Archibasov 3.67
CreateMutexwithatwist
Updated: 1 Dec 2004
CreateMutex with a twist…. some non default arguments.
VC6, .NET, Win2K, WinXP, Win2003, Visual-Studio, MFC, Dev
 
Alex Evans 3.64
A solution to the Readers/Writers Problem using semaphores
Updated: 18 Oct 2002
A solution to the Readers/Writers Problem using semaphores
VC6, VC7, Win2K, WinXP, Visual-Studio, MFC, Dev
 
Joris Koster 3.61
Avoiding Data Loss in Thread Communication
Updated: 7 Sep 2010
Avoiding Data Loss in Thread Communication
C, Linux
 
Luis Vital 3.60
A TryEnterCriticalSection that works on Windows 9x
Updated: 24 Sep 2002
TryEnterCriticalSection is a useful tool to determine if some protected resource is busy, but it's only available on the NT Platform... until now.
VC6, VC7, Win2K, WinXP, Dev
 
Olan Patrick Barnes 3.55
Thread Synchronization with Semaphore
Updated: 19 Nov 2011
An introduction to semaphore in contrast to Monitor
C#, Windows, Threading
 
Pranjit Kalita 3.50
Application configuration file for applications
Updated: 17 Oct 2004
Application configuration file for applications
C++, Windows, Visual-Studio, Dev
 
Cheeran Santhosh 3.46
Thread-safe Smart Pointer
Updated: 14 Jul 2009
With this thread-safe smart pointer, you can use an object of any type in a multithreaded environment.
C++ (VC6, VC7, VC7.1, VC8.0), C++/CLI, C, Dev
 
Oleg Fedchenko 3.46
An Automated System with Pipeline Concurrent Kernel
Updated: 26 Jan 2007
A multithreaded solution is provided as a concurrent pipeline kernel for an automated bartender machine. The application engine can pipeline three of four different kinds of cocktail recipes for the system.
C++, Windows, Visual-Studio, Dev, Design
 
Jek Platform 3.46
MFC Thread Synchronization using SYNCHRONIZED macro
Updated: 7 Jul 2003
Creation of SYNCHRONIZED macro for easy synchronization.
VC6, Win2K, WinXP, Win2003, Visual-Studio, MFC, Dev
 
rsankaran 3.40
A not so simple firewall.
Updated: 21 Jun 2004
A not so simple firewall if I can call it so. This application will ask you if you want a certain program to start.
C++/CLI, SQL, VC6, VC7, eVC3.0, WinMobile, .NET, Mobile, Win2K, WinXP, Visual-Studio, DBA, Dev
 
gamitech 3.39
A heap or shared memory based mutex pool manager
Updated: 24 Sep 2006
An article on a mutex pool manager based on heap or shared memory.
VC7, VC7.1, Win2K, WinXP, VS.NET2003, Dev
 
Feng Xu 3.36
A Fast Mostly User Mode Inter-Process Mutex
Updated: 26 Feb 2003
Win32 Mutexes are slow and cumbersome, this is a fast and nifty alternative!
VC6, VC7, Win2K, WinXP, MFC, Dev
 
Olan Patrick Barnes 3.31
Creating Threads using the CreateThread() API
Updated: 24 Mar 2006
Creating threads using the CreateThread() API.
VC6, Win2K, Dev
 
Chetan Kudalkar 3.20
Ultra-simple C++ Read/Write Lock Class for Windows
Updated: 16 Nov 2006
Ultra-simple read/write lock pattern implementation in C++.
C++/CLI, VC6, VC7, VC7.1, VC8.0, .NET, Win2K, WinXP, VS2005, Dev
 
MSCH@MDD 3.18
Shared Memory with IPC with threads
Updated: 4 Oct 2004
Shared memory as used along with threads to communicate between processes.
VC6, VC7, Win2K, WinXP, MFC, Architect, Dev
 
Sreekanth Muralidharan 3.12
Improper Usage of Invoke
Updated: 26 Jun 2006
Asynchronous programming is great, but improper use can cause your form to become non-responsive.
C#, Windows, .NET, Visual-Studio, Dev
 
William Sullivan 3.06
Shared and Exclusive lock control
Updated: 31 Aug 2004
C++ class for shared and exclusive lock control.
VC6, Dev
 
Charles Bargar 3.05
Semaphore Example
Updated: 22 Jan 2010
Semaphore Example
C++ (VC6), Windows
 
syed_babu 3.00
Re-Entrant Custom Critical Section
Updated: 14 Nov 2010
Re-Entrant code
VC6, Windows, Visual-Studio, Dev
 
Bharath NS 3.00
Single Producer Single Consumer, with no critical sections
Updated: 10 Mar 2006
A single producer consumer with no critical sections; twice as fast as a mutexed implementation.
C++, Windows, Visual-Studio, Dev
 
Kevin Jenkins 3.00
A simple thread pool class
Updated: 31 Dec 2003
A simple thread pool class
VC6, Windows, Dev
 
digger_chen 2.95
Asynchronous file IO using anonymous methods
Updated: 15 Aug 2006
An article on how to do async file IO in C# using anonymous methods.
C#2.0, Windows, .NET2.0, VS2005, Architect, Dev
 
nitstheone 2.89
Ping Notify (a ping monitoring utility)
Updated: 14 Nov 2010
The Ping Notify utility allows the user to define an IP address or URL, set the time and start monitoring. The user may choose between beep on ping failing or on success.
C#, VC8.0, Windows, .NET2.0, VS2005, Dev, WinForm
 
R%S 2.70
Sharing Data with Memory Mapped Files
Updated: 14 Nov 2010
How to use memory mapped files.
VC6, Win2K, WinXP, Win2003, MFC, Dev
 
Kumar Sudhir 2.64
Process Listing Utility
Updated: 3 Nov 2010
A small utility to display some info on a running process
C++, C, Win2K, WinXP, Win2003, Vista, Visual-Studio, Dev
 
spinny 2.63
Improve your server with Thread Pooling
Updated: 15 Aug 2004
This articles explains how to implement thread pooling in applications.
VC7, VC7.1, Win2K, WinXP, Win2003, MFC, VS.NET2003, Dev
 
Eran Aharonovich 2.60
Of Services and Processes - Part 1
Updated: 3 Nov 2010
How to programmatically control process and service in Windows NT
C, VC6, Win2K, WinXP, Dev
 
r_thampi 2.57
Creating a responsive UI in WPF - Unedited
Updated: 28 Apr 2011
Simple newbie code for creating a multi-thread WPF UI.
C#, .NET (.NET2.0), Visual-Studio (VS2008), Dev, Threading
 
King Coffee 2.50
Reset Windows Administrator Account Password in C#
Updated: 14 Nov 2010
How to Reset Windows Administrator Account Password in C# (Silently)
C#2.0, Windows, .NET2.0, VS2005, Dev
 
Ghasem Heyrani Nobari 2.50
Scope Lock
Updated: 26 Feb 2007
A class that will ease building thread-safe classes.
VC8.0, Windows, Visual-Studio, Dev
 
Razvan C. Cojocariu 2.43
Advanced Class Probe
Updated: 19 Oct 2004
A program to probe a window for its class, and enumerate all the loaded modules
C++, Windows, Visual-Studio, Dev
 
sanjit_rath 2.40
Solving Starvation in Dining Philosopher Problem: Using Inverse Semaphore
Updated: 2 Jun 2008
Multithreaded GUI solution for starvation in Dining Philosopher problem
C++ (VC7.1, VC8.0, VC9.0), Windows, Win32, MFC, GDI, Dev
 
Bharath NS 2.38
Advanced critical section
Updated: 8 Jul 2002
Advanced critical section which features TryLock and timeouts
VC6, VC7, Win2K, WinXP, PocketPC-2002, Dev
 
0xdeadbeef 1.77
Post a Thread Message and also handle it in the simplest way
Updated: 30 Jul 2004
The message posted to a thread can be easily handled by PeekMessage loop in a similar way as it is done in a window's message loop.
VC6, Dev
 
xsamar 1.73
Single Instance Application - The simple solution
Updated: 21 Nov 2002
The solution for the single instance application issue with command line arguments.
VC6, VC7, Win2K, WinXP, Dev
 
MaximE 1.61
Hardwired's Named Critical Section and Named Spin Lock
Updated: 23 Feb 2005
Named critical section and named spin lock - you may find it useful for debugging complex applications.
C++/CLI, C, VC6, VC7, VC7.1, VC8.0, .NET, Win2K, WinXP, Win2003, Vista, MFC, ATL, WTL, STL, VS.NET2003, VS2005, Architect, Dev, QA
 
Inocentric 1.55
How to know when the Task Manager kills your app
Updated: 17 Sep 2007
Use a forked process to check when the Task Manager kills your app.
C#1.0, Windows, .NET1.0, VS2005, Dev
 
Nelson Melo 1.54

Threads, Processes & IPC - Inter-Process Communication 

top
Title / Updated Author Score  
How to Implement Load Balancing to Distribute Workload - Unedited
Updated: 22 Jan 2012
Simple example showing how to implement the load balancing if you need to increase the performance by distributing the workload across multiple services.
C#, .NET
 
Ondrej_Uzovic 5.00
XQueue - a non-MFC C++ class to manage an interprocess queue
Updated: 17 Jan 2005
XQueue implements a shared-memory first-in first-out (FIFO) queue, based on memory-mapped files, that works on all versions of Windows.
VC6, Win2K, WinXP, MFC, Dev
 
Hans Dietrich 5.00
.NET Interprocess Communication Revisited
Updated: 4 Jan 2010
The XDMessaging 2.0 library provides an easy-to-use, zero configuration alternative to existing IPC implementations.
C#2.0, Windows, .NET, Architect, Dev
 
TheCodeKing 4.96
Bridge Between Java And Windows
Updated: 13 Jun 2002
Make your windows programs communicate with java programs easily
Java, VC6, Java SE, Win2K, MFC, Dev
 
Xiangyang Liu 刘向阳 4.94
RCF - Interprocess Communication for C++
Updated: 25 Oct 2011
A server/client IPC framework, using the C++ preprocessor as an IDL compiler.
VC7.1, VC8.0, Win2K, WinXP, VS.NET2003, Dev
 
Jarl Lindrud 4.94
Simple Managed Wrapper for Windows Pipes
Updated: 4 May 2008
This article presents a very simple and easy to use managed wrapper for Windows Pipes.
C#2.0, Windows, .NET2.0, VS2005, Dev
 
Ram Mohan Raja 4.93
IPCWorkshop
Updated: 29 Jan 2003
This article describes a data transfer over various IPC mechansisms
VC6, Win2K, Dev
 
Venkat Raman 4.91
Inter-Process Communication (IPC) Introduction and Sample Code
Updated: 19 Dec 2009
This article will cover general IPC technologies in All-In-One Code Framework. The IPC technologies include Named Pipes, File Mapping, MailSlot, etc.
C++, C#, Windows, .NET, Win32, Dev
 
All-In-One Code Framework 4.90
A Pure .NET Single Instance Application Solution
Updated: 17 Nov 2007
This article shows how to enforce single application instancing, and perform interprocess communication (IPC) using pure .NET code.
C#2.0, Windows, .NET2.0, VS2005, Dev, WinForm
 
Shy Agam 4.85
Interprocess Communication using Shared Memory
Updated: 13 Dec 1999
A client-server model using shared memory for interprocess communication
VC6, Dev
 
Zoran M. Todorovic 4.84
A Simple Wrapper for Sharing Data Structures Between Processes
Updated: 17 Sep 2001
A simple template class to create memory-mapped shared data structures.
VC6, Win2K, Dev
 
Ryan Schneider 4.84
Windows IPC
Updated: 22 Jun 2006
A brief introduction to Windows IPC mechanisms.
C++, Windows, Visual-Studio, Dev
 
Swarajya Pendharkar 4.83
EventRouter
Updated: 5 Oct 2010
An EventRouter implementation with cross process event distribution.
C#, Windows, .NET, Dev
 
Roman Ginzburg 4.80
MSEPX - Microsoft Security Essentials Process Exclusion Utility
Updated: 15 Jan 2012
A utility using a Windows service (that it creates) allowing point and click additions to the Microsoft Security Essentials process exclusion list
C++, Windows, Win32, Dev, security, system, service, Controls
 
twburger 4.80
Inter-Process Communication in .NET Using Named Pipes, Part 2
Updated: 14 Jun 2004
This article explores a way of implementing Named Pipes based Inter-Process Communication between .NET applications
C#, Windows, .NET1.1, VS.NET2003, Dev
 
Ivan L 4.77
API Hooking (LoadLibrary)
Updated: 30 Jun 2009
A simple approach to Hook LoadLibrary API with a sample
C++ (VC6, VC7, VC7.1, VC8.0), C++/CLI, C
 
Adam Roderick J 4.76
Using Named Pipes for Tracing
Updated: 14 Jul 2004
Using Named Pipes for Traces out of Multiple Processes
VC6, Windows, Dev
 
Holger Kloos 4.76
Inter-Process Communication in .NET Using Named Pipes, Part 1
Updated: 14 Jun 2004
This article explores a way of implementing Named Pipes based Inter-Process Communication between .NET applications
C#, Windows, .NET1.1, VS.NET2003, Dev
 
Ivan L 4.70
Pipe template classes
Updated: 2 Nov 2010
A template classes library to support pipe development with minimum programmer effort.
C++, Win2K, WinXP, Win2003, Vista, Win32, STL, Dev
 
klizardin 4.69
CSharedMailslot: a shared server mailslot
Updated: 1 Dec 2004
An interprocess communication approach to share a server mailslot.
VC7.1, Win2K, WinXP, Win2003, Visual-Studio, MFC, Dev
 
matro 4.68
An Introduction to Processes: Asynchronous Process Notification
Updated: 16 May 2000
Learn how to create new processes and how to efficiently manage them.
VC6, MFC, Dev
 
Joseph M. Newcomer 4.59
Interprocess Communication Between .NET and MFC Using WM_COPYDATA
Updated: 23 Dec 2007
A simple method to achieve interprocess communication between the .NET framework and MFC.
C++ (VC6, VC7, VC7.1, VC8.0), C# (C#1.0, C#2.0, C#3.0), Windows (Win2K, WinXP, Win2003, Vista, TabletPC, Embedded), .NET (.NET1.0, .NET1.1, .NET2.0, Mono, DotGNU, .NET3.0, .NET3.5), Win32, MFC, Architect, Dev, Design, WinForm
 
David Saelman 4.58
Loop buffer, an efficient way of using shared memory for inter-processes (or threads) communication
Updated: 7 Jun 2005
An article that presents a loop buffer solution for inter-threads or inter processes communication
C++, Windows, Visual-Studio, Architect, Dev
 
Richard Lin 4.54
Simple High-Level Interprocess Communications Library (SHLIPC)
Updated: 2 Sep 2011
A simple high-level IPC library with ability to use native C++ interfaces.
VC10.0, Windows, Win32, Win64, VS2010, Architect, Dev, Threading, IPC, multithreading, Templates, Boost, C++0x
 
Alexander Bessonov 4.50
Getting Process ID from Process Handle
Updated: 9 Jan 2008
Some ways of getting a process identifier if only the process handle is available
C++ (VC6, VC7, VC7.1, VC8.0), Dev
 
Dmytro Ivanchykhin 4.43
VC++ & VB Inter Process Communication Plus Introduction To VB Subclassing
Updated: 16 Nov 2005
How to communicate between a VC++ DLL and a VB 6 application (but not only).
VB6, VC6, Dev
 
Axonn Echysttas 4.43
Cross-Platform IPC Event Manager for Interaction with Service Providers
Updated: 6 May 2009
This article shows you how to send or post events among processes using shared memory queues for the Windows and Linux platforms.
VC6, VC7, VC7.1, VC8.0, Windows, Linux, Win32, Dev
 
Alex_Intw 4.40
Multithreaded and Interprocess Signaling Using Semaphores in C++
Updated: 24 Sep 2009
Multithreaded and interprocess signaling using semaphores in C++.
C++, Windows, Linux, Dev
 
Bunty1983 4.38
Shared memory
Updated: 28 Sep 2002
Share variables in the shared memory across processes
VC6, Win2K, MFC, Dev
 
Martin Ziacek 4.30
Fast IPC Communication Using Shared Memory and InterlockedCompareExchange (updated!)
Updated: 28 Sep 2006
Guide to writing a very fast interprocess communication class. This article describes a method of IPC that requires no locking or thread sync.
VC6, VC7, VC7.1, VC8.0, C#1.0, C#2.0, .NET, Win2K, WinXP, Win2003, Vista, TabletPC, Win64, VS.NET2003, VS2005, Dev
 
studio_ukc 4.30
Inter-Process Communication using WM_COPYDATA
Updated: 3 Dec 1999
Demonstrates the use of WM_COPYDATA
VC6, Dev
 
Eddy Celis 4.23
A Case Study about InterProcess Synchronization
Updated: 5 Jan 2001
An application demonstrating process synchronisation and interprocess communication
VC6, Win2K, Dev
 
Gert Boddaert 4.15
Unleashing anonymous pipes – Part 1
Updated: 19 Aug 2003
Using anonymous pipes for interprocess communication
VC6, VC7, VC7.1, Win2K, WinXP, Win2003, Dev
 
Dinesh Ahuja 4.08
Synchronous Interprocess communication, A wrapper: Part I
Updated: 25 Apr 2003
A class to demonstrate another approach to IPC
VC6, VC7, Win2K, WinXP, Dev
 
Elias Bachaalany 4.08
Sending a message to the Main Frame Window of Another Application, given only the Process Handle
Updated: 8 Dec 1999
Explains how to send a message between windows when you only have the Process handle
VC6, Visual-Studio, MFC, Dev
 
Martin-Pierre Frenette 4.00
IPCTrace
Updated: 6 Nov 2001
IPCTrace - An inter-process tracing utility
VC6, Win2K, Dev
 
Frank Melber 4.00
Asynchronous Named Pipe Server Using Overlapped I/O in C#
Updated: 20 Jul 2008
Asynchronous named pipe server in C#.
C#1.0, C#2.0, C#3.0, .NET2.0, Win32, VS2005, Dev
 
Boris Kolesnikov 3.00
Inter-process communication via Remoting
Updated: 14 Oct 2007
Inter-process communication by using Remoting.
C#2.0, Windows, .NET (.NET2.0), VS2005, Dev
 
drlinwang 2.76
Eneter Messaging Framework 3.0 - Unedited
Updated: 26 Oct 2011
The third version of the messaging framework for the interprocess communication.
C#, .NET, Silverlight
 
Ondrej_Uzovic 1.80
Communication Pipe Classes
Updated: 26 Jul 2001
Simple and fast communication between all types of MFC Applications on a single or multiple computers in Windows NT.
VC6, Win2K, MFC, Dev
 
Ion Tichy 1.06

Threads and Processes - Multi-threading 

top
Title / Updated Author Score  
Work Queue based multi-threading
Updated: 27 Nov 2004
Allows an application to queue work that is performed concurrently to the main thread while maintaining exception processing.
C#, Windows, .NET1.1, VS.NET2003, Dev
 
Richard Schneider 4.97
The Practical Guide to Multithreading - Part 2
Updated: 12 Apr 2010
More of practical situations to use multithreading!
C++, C#, Windows, .NET, Linux, Win32, MFC, STL, Architect, Dev
 
Ajay Vijayvargiya 4.96
PetriDish: Multi-threading for performance in C#
Updated: 28 May 2008
An investigation into advanced concurrent programming.
C# (C#3.0), .NET (.NET3.5), Visual-Studio (VS2008), Architect, Dev, Design
 
Nicholas Butler 4.95
High Performance Multi-threaded Work Item / Event Scheduling Engine
Updated: 16 Mar 2008
High performance solution for scheduling and executing work items.
C# (C#3.0), .NET (.NET3.5), Visual-Studio (VS2008), Dev
 
owen654321 4.94
Generic Alert Handler - A Practical Example on Multithreading
Updated: 18 Aug 2010
With the help of an example in this article, I have tried to explain a practical multi-threading application design. The Microsoft CLR Profiler tool has been used to get an insight on what is going on. Emphasis is given to development of a generic module as it maximizes code reuse.
C# (C#2.0), Windows, .NET (.NET2.0, .NET3.0, .NET3.5), ASP.NET, Ajax, Dev
 
Suchi Banerjee, Pune 4.93
Yet another implementation of a lock-free circular array queue - Unedited
Updated: 27 Apr 2011
A circular array based lock-free queue with no memory allocation on the heap and no ABA problem
C++, Windows, .NET, Linux, Architect, Dev, Threading, Scheduler, coding, Algorithms
 
Faustino Frechilla 4.93
.NET Asynchronous Design Pattern for Native C++
Updated: 2 Nov 2010
Native C++ implementation of the .NET Asynchronous Design Pattern using Windows I/O Completion Ports
C++ (VC6, VC7, VC7.1, VC8.0), Windows (Win2K, WinXP, Win2003, Vista, Win2008, Win7), .NET (.NET1.0, .NET1.1, .NET2.0, .NET3.0, .NET3.5), MFC, ATL, WTL, Dev
 
Daniel Ranger 4.92
Generic Wrapper for Easy Multithreaded Programming
Updated: 26 Apr 2009
Event-based, generic wrapper and manager to implement multithreading in your applications
VB8.0, VB9.0, Windows, .NET2.0, .NET3.0, .NET3.5, Dev
 
siglr2 4.92
Beginner's Guide to Threading in .NET: Part 2 of n
Updated: 10 Aug 2008
A beginner's guide to threading in .NET.
C#2.0, C#3.0, .NET2.0, .NET3.0, .NET3.5, WPF, Dev
 
Sacha Barber 4.90
Declarative multithreading
Updated: 23 Nov 2011
An introduction and proof of concept code for the idea of declarative multi threading in C#.
C#, .NET, Architect, Dev, Threading, Attributes
 
gossd 4.89
Beginners Guide to Threading in .NET: Part 5 of n
Updated: 10 Aug 2008
This article will be all about how to thread different types of UIs.
C#1.0, C#2.0, C#3.0, .NET1.0, .NET1.1, .NET2.0, .NET3.0, .NET3.5, Win32, WPF, Dev
 
Sacha Barber 4.88
Multi-Threading: Deadlock Tracer Utility
Updated: 3 Nov 2008
Tracing dead-locks in multi-threaded applications.
C# (C#1.0, C#2.0, C#3.0), Windows (Win2K, WinXP, Win2003, Vista), .NET (.NET1.0, .NET1.1, .NET2.0, .NET3.0, .NET3.5), WebForms, Dev, WinForm
 
Chivate Atul 4.88
Beginner's Guide to Threading in .NET: Part 3 of n
Updated: 10 Aug 2008
This article is all about how to control the synchronization of different threads.
C#3.0, .NET2.0, .NET3.0, .NET3.5, WPF, Architect, Dev
 
Sacha Barber 4.88
Parallel Tasks in .NET 3.0
Updated: 6 May 2010
Provide a mechanism to execute a list of tasks in parallel on multiple threads and communicate back to the calling thread useful states such as exceptions, timeouts, and successful task completion.
C#, .NET1.1, .NET2.0, Win2K, WinXP, Win2003, Vista, Mono, .NET3.0, .NET3.5, Win2008, Win7, Win2008-R2, Dev
 
David Cruwys 4.88
The Practical Guide to Multithreading - Part 1
Updated: 6 Apr 2010
Learn from this guide how and when - as well as when not - to use multithreading.
C++, C#, Windows, .NET, Linux, Win32, MFC, MVC, Dev
 
Ajay Vijayvargiya 4.87
Beginners Guide to Threading in .NET: Part 1 of n
Updated: 9 Aug 2008
A beginners guide to threading in .NET.
C# (C#3.0), .NET (.NET2.0, .NET3.0, .NET3.5), WPF, Dev, Design
 
Sacha Barber 4.85
Memory Queue
Updated: 21 Mar 2011
Basic Implementation of a Memory Queue, Thread Queue and Basic Logging Framework
C# (C#2.0, C#3.0, C#4.0), .NET (.NET2.0, .NET3.0, .NET3.5), Architect, Dev, C#3.5, Threading, Application, Framework, Development
 
Jaco van Staden 4.83
Lock-Free Single-Producer - Single Consumer Circular Queue
Updated: 9 Jun 2011
How to make a C++ thread safe, single producer, single consumer lock-free circular queue
C++, Windows, Linux, Dev
 
KjellKod.cc 4.80
Spin Lock in C++
Updated: 9 May 2011
A spin lock implementation which can be used for general purpose locking.
C++, Windows, Win32, Visual-Studio, Dev, Threading
 
sameer_87 4.78
Finite State Machine and Multithreading using .NET
Updated: 2 Mar 2006
An article on classes for finite state machines, events and threads.
C#, .NET1.1, Win2K, WinXP, VS.NET2003, Dev
 
Linus Flüeler 4.76
Multithreading Tutorial
Updated: 28 Dec 2006
This article demonstrates how to write a multithreaded Windows program in C++ using only the Win32 API.
VC6, VC7, VC7.1, Win2K, WinXP, Win2003, VS.NET2003, Dev
 
John Kopplin 4.72
Beginners Guide to Threading in .NET: Part 4 of n
Updated: 10 Aug 2008
This article will be all about how to control the synchronization of different threads.
C#1.0, C#2.0, C#3.0, .NET2.0, WPF, Dev
 
Sacha Barber 4.72
Volatile fields in .NET: A look inside
Updated: 27 Nov 2008
The article describes in detail volatile fields in .NET and how they work on different CPU architectures.
C# (C#1.0, C#2.0, C#3.0), .NET (.NET2.0, .NET3.0, .NET3.5), Win32, Win64, Dev
 
Vitaliy Liptchinsky 4.71
Context Delegate
Updated: 12 Jan 2008
This is an abstraction that facilitates (but is not limited to) building multi-threaded WinForms UIs.
C#, .NET, VS2005, Dev
 
Kalkunte 4.69
Work queue with Boost.Threads
Updated: 15 Nov 2011
Worker thread example with Boost.Threads and C++.
VC7.1, VC8.0, VC9.0, VC10.0, Windows, Linux, Dev
 
Gast128 4.69
Producer Consumer Using Double Queues
Updated: 11 Jul 2008
Producer Consumer implementation using double queues
C#2.0, .NET2.0, Dev
 
Ram Mohan Raja 4.68
Multithreading Demystified
Updated: 16 Jun 2011
Multi-threading in .NET - A walkthrough.
C#, .NET, Dev
 
anshudutta 4.65
Multithreaded Programming Using C#
Updated: 10 Oct 2001
A simple tutorial on Multithreaded Programming using C#
C#, Windows, .NET1.0, Visual-Studio, Dev
 
Zeeshan Amjad 4.53
A Multi-threading Example
Updated: 26 Sep 2007
An Example Showing How to Run Multiple Codes Concurrently and Prevent Cross-thread Operation Errors Using C#
C#2.0, Windows, .NET2.0, Visual-Studio, Dev
 
Pooya Musavi 4.39
Multithreaded Buffer Poll in .NET
Updated: 19 Mar 2009
This article presents a way to implement pipleline threads cooperation using buffer pool.
C# (C#1.0, C#2.0, C#3.0), .NET (.NET3.5), Architect, Dev
 
Polanek 4.33
A Multi Threaded Linked Task Queue
Updated: 30 Apr 2009
I needed a multithreaded task queue but with linked tasks, so I created this Multithreaded Task Queue.
C#, Windows, .NET1.1, .NET2.0, .NET3.0, .NET3.5, Dev
 
Sanjay1982 4.33
The Winter is Too Cold, the Dialog Begins to Shake!
Updated: 29 Dec 2009
The article demonstrates a method to shake the window using multithreading. Just like some IM tools, you click a button, then the dialog begins to shake.
C++, Windows (WinXP, Win7), Dev
 
Aric Green 4.20
Making Controls Thread-safely
Updated: 6 May 2009
Making controls thread-safely
C# (C#2.0), Windows, .NET (.NET2.0), Dev
 
Sergiu Josan 4.10
Inter Computer Read/Write File Lock
Updated: 4 Jan 2010
Using File Management Windows API for implementing inter computer Read/Write lock
C++ (VC8.0), Windows (WinXP, Win2003), Win32, MFC, Dev
 
AndreBroz 4.00
Leveraging Threads to Speed up Batch Processing
Updated: 17 Feb 2008
Speed up your batch processing by splitting it into smaller tasks and executing them in concurrent threads
C# (C#2.0, C#3.0), Windows (Win2K, WinXP, Win2003, Vista, TabletPC, Embedded), Win32
 
David Catriel 4.00
Updating the UI from a thread - The simplest way
Updated: 23 Dec 2008
A piece of reusable code that implements the functionality to update a UI element from a thread.
VB6, VB (VB7.x, VB8.0, VB9.0), .NET, Visual-Studio (VS2005, VS2008), WinForm
 
Thulasee Shan 4.00
An Introduction to Jibu for .NET - Unedited
Updated: 4 Jan 2008
Jibu is a high-level multithreading API for .NET 2.0 and above.
C++/CLI, C# (C#2.0, C#3.0), VB (VB7.x, VB8.0, VB9.0), .NET (.NET2.0, Mono, DotGNU, .NET3.0, .NET3.5), Win32, Win64, Dev, Design
 
jdx256 4.00
An Introduction to Threads, Critical Sections, and Synchronization
Updated: 29 Sep 2008
With the days of the single cored processor drawing to a close and users demanding more robust user interfaces by the day, knowledge of multi-threaded programming techniques is quickly becoming a requirement of any competitive application developer.
C#, .NET
 
Spencer Ruport 4.00
Journey into Multi Threading
Updated: 17 May 2010
Threading tutorial and examples for beginners
C# (C#2.0, C#3.0, C#4.0), .NET (.NET2.0, .NET3.0, .NET3.5), Dev, .NET4, WinForm
 
Harsha T 4.00
Extension of safeInvoke
Updated: 13 Jul 2010
Extention of the 'safeInvoke' class by Sergiu Josan
C#
 
vicoB 4.00
OpenMP style multi-threading in C#
Updated: 17 Sep 2008
Simplified multi-threading of for loops in C#, with an interface akin to OpenMP.
C# (C#2.0, C#3.0), .NET (.NET2.0, Mono, .NET3.0, .NET3.5), Visual-Studio (VS.NET2003, VS2005, VS2008), Dev
 
adamvanner 3.96
Thread Synchronization - UI Thread and Worker Thread
Updated: 15 May 2010
This article describes how a Worker thread can take control of the UI and can update the UI, created by the UI thread.
C#, .NET, Threading, UI, WinForm
 
Shubhabrata Mohanty 3.80
Converting single threaded C# class to multithreaded one
Updated: 24 Oct 2003
The article desribribes the technique and the software tool for conversion of single threaded classes to multithreaded.
C#, .NET, Win2K, WinXP, Win2003, Visual-Studio, Dev
 
Alex_1 3.33
.NET multi-threading and communication between threads
Updated: 29 Dec 2002
An article that explains the messaging between main and worker threads
C#, Windows, .NET1.0, Dev
 
Gopinath Krishnamurthy 3.21
Threads and Thread Synchronization in C#
Updated: 16 May 2008
An article that discusses the advantages of C# multithreaded programming
C#, Dev
 
AshokPatra 3.19
Multicore Speedup Analysis using Jacobi Relaxation Running on Multiple Threads
Updated: 10 Jul 2007
Analyse the speedup achieved by multicore processors by running a computation intensive task, using multithreading to create 1 separate thread per processor.
C#2.0, Windows, .NET2.0, VS2005, Dev
 
Sajjitha Gunawardana 3.10
Macros to simulate multi-tasking/blocking code at interrupt level
Updated: 27 Jun 2009
This is a set of macros that can be used to write structured code as if it were blocking code while in an interrupt context.
C, Windows, Linux, Dev
 
Eddy Quicksall 3.00
Managing shared resource access in .NET multi-threading
Updated: 14 Mar 2005
This document describes the details of a customized .NET ThreadLockHelper class that manages shared resources effectively in .NET multithreading solutions as well as higher level overview of shared resource management and synchronizing techniques in .NETmultithreading.
C++, C#, VB, .NET1.0, .NET1.1, Win2K, Win2003, VS.NET2003, Dev
 
vinodramakrishnan 2.90
Multithreading Concepts in C#
Updated: 31 Oct 2004
An introduction to multithreading concepts in C#.
C#, Windows, .NET, Visual-Studio, Dev
 
Shalini78 2.83
Connection Pooling in multithreaded applications
Updated: 1 Mar 2010
Approaches describing a design to handle connection objects and pools in C#.
C#2.0, C#3.0, C#4.0, Windows, .NET, ASP.NET, ADO.NET, WCF, WPF, SQL2005, VS2005, VS2008, SQL2008, VS2010, Dev, WinForm
 
RakeshGunijan 2.80
Multiple Concurrent Tasks in .NET - Using Threads
Updated: 13 May 2010
Two simple ways to get started with threads in .NET
C#, .NET (.NET2.0, .NET3.0, .NET3.5), Architect, Dev
 
avarma 2.75
Better threading
Updated: 30 Jan 2007
A more object-oriented way for multi-threading (not bound to MFC).
C++, Windows, Visual-Studio, Dev
 
Dennis Gourjii 2.68
Non Deadlocking Read/Write Locker and Thread-Safe Collections
Updated: 6 Oct 2010
A ReaderWriterLock that cannot deadlock, and thread-safe example collections
C#, VB (VB.NET), Windows, .NETCF, .NET, XBox, Dev, Threading
 
Tamus 2.43
Use Command Pattern for Handling Queued Jobs in a Multi-threaded Environment
Updated: 19 Nov 2008
This is an article on how to use command pattern in a multi-threaded environment where jobs are queued for execution. With this, the thread scheduling using basic synchonizing methods, semaphores and mutex is also described.
C++, Windows, .NET2.0, Win32, Dev
 
PrasadPerera 1.62

Threads, Processes & IPC - Processes 

top
Title / Updated Author Score  
ProcessCommunicator
Updated: 5 Apr 2010
A class that allows my CommScript class to "'drive' a command line utility"
C#, .NET (.NET3.5), Dev
 
PIEBALDconsult 5.00
Three Ways to Inject Your Code into Another Process
Updated: 20 Aug 2003
How to inject code into another processes address space, and then execute it in the context of this process.
VC6, Win2K, WinXP, Win2003, Visual-Studio, MFC, Dev
 
Robert Kuster 4.96
Launching a process and displaying its standard output
Updated: 31 Aug 2003
This article shows how to launch a process (such as a bat file, perl script, console program) and have its standard output displayed on a windows form.
C#, Windows, .NET1.0, .NET1.1, Dev
 
Mike Mayer 4.94
Enumerating processes on NT/Win9x
Updated: 9 Sep 2002
A simple class encapsulating tlhelp32 and PSAPI
VC6, Win2K, Dev, Virtualization, virtual-machine
 
moliate 4.94
Detecting Windows NT/2K process execution
Updated: 25 Mar 2002
An article on how to get notification from the OS when a process starts
VC6, VC7, Win2K, Dev
 
Ivo Ivanov 4.93
Limiting an application to a single Instance - the MFC way
Updated: 30 Aug 2002
Another approach for limiting application instance
VC6, VC7, Win2K, WinXP, MFC, Dev
 
Armen Hakobyan 4.89
ProSysLib: Dissecting the Process
Updated: 22 Nov 2010
Access detailed information about the current process the easiest way.
C++ (VC6, VC7, VC7.1, VC8.0, VC9.0), C++/CLI, C# (C#1.0, C#2.0, C#3.0), VBScript, Windows (Win2K, WinXP, Win2003, Vista), .NET (.NET1.0, .NET1.1, .NET2.0, .NET3.0, .NET3.5), Office, Win32, Win64, ATL, STL, COM, Dev, QA, SysAdmin
 
Vitaly Tomilov 4.84
Enumerating processes : A practical approach
Updated: 6 Sep 2002
Enumerating processes using ToolHelp32 library and also shows how to change priority and terminate a process.
VC6, VC7, Win2K, WinXP, Visual-Studio, MFC, Dev
 
Irfan Dawood 4.82
ProcessTime - A tool to get start and end time of any process
Updated: 9 Dec 2004
This tool uses PSAPI to list kernel and user processes. Also, it can log start and end times of user level processes.
VC6, Win2K, Dev
 
Ramanan.T 4.82
Starting Process in the Logged Session under the Local System Account
Updated: 6 Dec 2010
This article contains the description of how to start a process in the current active session on session logon notification event with permissions of system process running in the current session.
C++, Windows, Architect, Dev, Threading, Process, multithreading, Boost
 
Apriorit Inc, Elizaveta Golub 4.80
Solving Problems of Monitoring Standard Output and Error Streams of a Running Process
Updated: 17 Mar 2011
Introduces a class to help solve several problems of reading standard output/input of a running process.
C#2.0, C#3.0, .NET, Dev
 
Curt C 4.78
Navigating the PEB
Updated: 19 May 2005
Obtaining another process' command-line arguments.
VC6, Win2K, WinXP, MFC, Dev
 
DavidCrow 4.71
Find and kill a process which uses the specified loaded dynamic library (.dll)
Updated: 29 May 2005
Find and kill all processes which have the given DLL as a module.
VC6, Win2K, WinXP, Win2003, Dev
 
Dalibor Drzik 4.65
API function call unification: the case of Processes/Modules enumeration
Updated: 6 Jul 2003
An article to show how to write a code that will unify two different API set into one
VC6, VC7, Win2K, WinXP, Win2003, Dev
 
Elias Bachaalany 4.61
Monitoring a MySQL Server Process
Updated: 26 Oct 2010
An example of monitoring a Windows process
C# (C#1.0, C#2.0, C#3.0)
 
asugix 4.56
How to kill a process given a name
Updated: 15 Dec 2002
Shows how to kill a process given only a process name, and how to make it work for all Windows OS's (except 3.1)
VC6, VC7, Win2K, WinXP, Visual-Studio, Dev
 
Eugene Polonsky 4.55
Running applications like services
Updated: 11 Feb 2007
How to run an application without a GUI or logging in.
XML, C#2.0, .NET1.1, .NET2.0, Win2K, WinXP, Win2003, Vista, .NET3.0, VS.NET2003, VS2005, Architect, Dev
 
Wojtek Jeziorczak 4.54
Enhanced version of the CreateProcess function
Updated: 26 Apr 2004
Waits for the child process to exit, minimizes the main window while the child process runs, and automatically restores the window when it exits.
VC6, VC7, VC7.1, Win2K, WinXP, Win2003, MFC, Dev
 
BillyNorwak 4.54
Get Process Info with NtQueryInformationProcess
Updated: 21 Jul 2007
Get process parent ID, command-line, etc.
VC7.1, Win2K, WinXP, Win2003, Vista, MFC, VS.NET2003, Dev
 
OrionScorpion 4.53
Read Environment Strings of Remote Process
Updated: 27 Apr 2008
A Tool to read Environment variables of a remote process
C++, Windows (Win2K, WinXP, Win2003, Vista), MFC, Dev
 
Sarath. 4.36
Redirect
Updated: 7 Jun 2000
An ATL-control for redirecting stdout/stdin
VB6, VC6, Win2K, ATL, Dev
 
Franky Braem 4.34
Reanimator utility for process recovery
Updated: 20 Jan 2006
Description of a process recovery utility, which can be considered as a simple example of using multithreading, inter-thread communication, and synchronization techniques.
VC8.0, Windows, Visual-Studio, Dev
 
Maxim Izbrodin 4.33
Win32 APIs for Process Retrieval
Updated: 11 Feb 2004
Discover what other tasks are running on the system.
VC6, Win2K, MFC, Dev
 
Ahmed Alhosaini 4.28
GetProcessTimes
Updated: 4 May 2004
How to retrieve the running-time of a process
VC6, Win2K, MFC, Dev
 
DavidCrow 4.26
Parallel Quicksort using MPI & Performance Analysis
Updated: 13 Sep 2009
This is an individual effort on parallelizing the quicksort algorithm using MPI (Message Passing Interface) to sort data by sharing the partitions generated from regular sampling.
C++, Windows, Linux, Dev
 
PrasadPerera 4.25
Enum Processes with kernel and user times
Updated: 7 Feb 2005
An article on enumerating processes.
VC6, WinXP, Dev
 
Roger65 4.23
Code to Host a Third Party Application in our Process Window (e.g. Google Chrome, Internet Explorer 8)
Updated: 16 Aug 2010
This code shows how to host a third party application inside your own process Window, like Google Chrome & Internet Explorer 8
C# (C#2.0, C#3.0), .NET (.NET2.0, .NET3.0, .NET3.5), Win32, Win64, Architect, Dev, Design, Application, Framework, plugin, General, UI, PInvoke, splitter, Windows7, size, Forms, Controls, WinForm
 
Sharan Basappa 4.11
Process, Module and Thread enumeration classes
Updated: 15 May 2002
3 simple classes for easy retrival of running processes, modules and threads
VC6, VC7, Win2K, WinXP, Visual-Studio, MFC, STL, Dev
 
Andreas Saurwein Franci Gonçalves 4.07
Generic Version of Priority Queue and Priority Based Process Scheduler Simulation
Updated: 25 Jan 2007
A priority based process scheduler is simulated using a priority queue
C#2.0, Windows, .NET2.0, VS2005, Architect, Dev
 
Anindya Chatterjee 4.00
KitKat - The Lazy/Poor Man's Rootkit
Updated: 26 Oct 2010
A Very Simple Pseudo-RootKit
C++ (VC6), Windows (Win2K)
 
st0le 3.86
Dynamic Inter-Process Shared Memory
Updated: 11 Sep 2006
A method of sharing several items of any size between processes.
VC6, VC7, Visual-Studio, Dev
 
WalderMort 3.78
A tiny application to launch a suspended Process
Updated: 24 Jul 2011
A tiny application to launch a process suspended to allow, e.g., attaching a remote debugger.
C#, Windows, Threading, WinForm, Debugging
 
hofingerandi 3.69
Process Create Notification using EnumProcess
Updated: 2 Jul 2009
Poll using EnumProcess to get process create notification in user-mode
C++ (VC6, VC7, VC7.1, VC8.0, VC9.0), C, Windows, Win32, Win64, Visual-Studio (VS2008), STL, Architect, Dev, Design
 
My2Cents 3.67
Toolhelp32ReadProcessMemory
Updated: 3 Sep 2003
How to use the Toolhelp32ReadProcessMemory() function
VC6, Win2K, MFC, Dev
 
DavidCrow 3.55
How to get handle to any running process by its name
Updated: 24 Aug 2004
Get handle to any running process (by its name) by using performance data
VC6, Win2K, STL, Dev
 
Dudi Avramov 3.53
Process enumeration class
Updated: 6 Jun 2007
This class can be used for the enumeration of processes and modules.
VC6, WinXP, Dev, SysAdmin
 
sudhir_Kumar 3.50
A utility to stagger processes at Windows Startup
Updated: 13 Apr 2000
This utility uses very little system resources to launch apps base on a timer.
VC6, Win2K, Visual-Studio, Dev
 
Phil McGahan 3.47
Process Enumeration in Windows 2000
Updated: 10 Jun 2002
Explains how to use the ToolHelp API to enumerate processes under Windows 2000/XP
VC6, VC7, Win2K, WinXP, Dev
 
Kumar Gaurav Khanna 3.27
Finding and Listing Processes in Visual Basic 2005
Updated: 23 Jan 2008
An article about finding and listing processes in Visual Basic 2005
VB, VS2005, Dev
 
salysle 3.20
IPC Between Managed and Unmanaged Code
Updated: 15 Aug 2006
An article about bridging the communication gap between managed and unmanaged code.
C#, VC6, .NET, WinXP, Win2003, Visual-Studio, Dev
 
wiet lie 3.16
Get Parent Process PID
Updated: 22 Mar 2005
How to get the parent process PID, and how to use it in the child process.
VC6, Win2K, WinXP, Dev
 
dmihailescu 3.12
Shutdown[Remote] Using Shutdown.exe
Updated: 16 Jan 2008
An article that demonstrates how to shutdown[remote] using Windows' shutdown.exe file
C#2.0, .NET2.0, WinXP, Win2003, Visual-Studio, Dev
 
AbhilashAshok 2.73
How to Set the Maximum Memory a Process can Use at the OS Level
Updated: 1 Mar 2007
Describes how to use WIN32 methods, and the concepts of Jobs to set a hard limit on the amount of memory a process can use. Also, provides a C# wrapper around the PInvoke calls.
C++, C#2.0, .NET2.0, Win2K, WinXP, Win2003, Vista, TabletPC, .NET3.0, VS2005, Dev
 
schizoidboy 2.59
Process and Module Viewer
Updated: 2 Nov 2010
Displays process details and modules attached .
C#, Windows (Win2K, WinXP, Win2003, Vista), .NET (.NET2.0), Win32, Dev
 
Amit Ranjan 2.33
Finding and Listing Processes in C#
Updated: 23 Jan 2008
An article about finding and listing processes in C#
C#, VS2005, Dev
 
salysle 2.00

Threads, Processes & IPC - Third Party libraries 

top
Title / Updated Author Score  
Distributed Computing in Small and Medium Sized Offices
Updated: 25 Oct 2010
Introduction to the open-source hxGrid library for distributed computing. Main benefits of the library: cluster uses only idle time of Windows 2000/XP/Vista workstation (no dedicated workstations required); easy to use; free.
C++ (VC6, VC7, VC7.1, VC8.0), C, Windows (Win2K, WinXP, Win2003, Vista), Win32, Architect, Dev
 
hax_ 4.92
Communicating with Remote Processes without DCOM or CORBA
Updated: 30 Apr 2001
Introduce a new interprocess communication tool
Java, VC6, Windows, Visual-Studio, MFC, Dev
 
Xiangyang Liu 刘向阳 4.41

Threads and Processes - Thread Pooling 

top
Title / Updated Author Score  
Smart Thread Pool
Updated: 28 Dec 2009
A smart Thread Pool implementation in .NET.
C#, .NET1.1, Win2K, WinXP, Win2003, VS.NET2003, Dev
 
Ami Bar 4.96
Extended Thread Pool
Updated: 2 Oct 2009
Your own extensible and configurable Thread Pool.
C# (C#2.0, C#3.0), Windows, .NET (.NET2.0, .NET3.0, .NET3.5), Architect, Dev
 
GSerjo 4.96
Multithreading, Delegates, and Custom Events
Updated: 17 Mar 2010
Tie it all together and not lose your mind in the process
C#, .NET, Dev
 
John Simmons / outlaw programmer 4.94
Creating your own thread pool in .NET
Updated: 16 Dec 2003
Introducing an easier to use .NET thread pool class.
C++/CLI, C#, VB, .NET1.0, .NET1.1, Win2K, WinXP, Win2003, ASP.NET, Dev
 
Xiangyang Liu 刘向阳 4.88
Understanding the Asynchronous Programming Model
Updated: 14 Jun 2009
An article that is meant to show how to use the APM with the CLR's Thread Pool
C# (C#1.0, C#2.0, C#3.0)
 
logicchild 4.76
.NET's ThreadPool Class - Behind The Scenes
Updated: 18 Mar 2003
When to use .NET's ThreadPool class, and when to use something different.
C#, VC7, Windows, .NET1.0, Visual-Studio, Dev
 
Marc Clifton 4.66
Changing the default limit of 25 threads of ThreadPool class
Updated: 14 Jun 2003
Changing the default limit of 25 threads of ThreadPool class
C#, Windows, .NET1.0, Dev
 
Yash malge 4.62
Thread variables and the .NET thread pool
Updated: 10 Jul 2003
Optimize your code in multithreaded .NET applications
C++/CLI, C#, VB, .NET1.0, .NET1.1, Win2K, WinXP, Win2003, ASP.NET, Visual-Studio, Dev
 
Xiangyang Liu 刘向阳 4.54
Asynchronous Input/Output and .NET’s Asynchronous Programming Model
Updated: 27 Mar 2009
An article that explains how threads asynchronistically perform I/O
C# (C#1.0, C#2.0, C#3.0)
 
logicchild 4.50
Processing a Queue of Objects using Multiple Threads with the ProcessQueue
Updated: 3 Dec 2009
The ProcessQueue manages a pool of threads to process a strongly-typed queue of items.
C#, .NET (.NET3.0), Threading
 
Adam Robinson 4.50
Wait for threads in a ThreadPool object to complete
Updated: 27 Sep 2004
A small code snippet to wait for all ThreadPool worker threads to complete.
C#, .NET1.0, .NET1.1, Win2K, WinXP, Win2003, VS.NET2003, Dev
 
gtamir 4.22
A C++ Plug-in ThreadPool Design
Updated: 22 May 2008
The Command Pattern and Chain of Responsibility for implementing a plug-in Thread Pool library.
C++ (VC6, VC7, VC7.1, VC8.0, VC9.0), Windows (WinXP, Win2003, Vista), Win32, STL, Architect, Dev, Design
 
Alex C. Punnen 4.00
Thread Basics and the CLR's Thread Pool
Updated: 8 Jan 2009
An article meant to describe threading basics and the logic behind a thread pool.
C# (C#1.0, C#2.0, C#3.0), .NET, Dev
 
logicchild 4.00
Simple mutlithreaded application
Updated: 6 Apr 2009
A simple mutlithreaded application using ThreadPool.
C#, .NET1.1, .NET2.0, WinXP, Win2003, .NET3.0, Dev
 
Wael Al Wirr 4.00
ThreadPoolComponent: Multithreading Simplified
Updated: 9 Mar 2009
Provides a simple wrapper around the shared ThreadPool. It may be used to divide a task into a set of threads which are executed concurrently.
C#3.0, .NET2.0, Win32, Win64, Dev
 
kinke 4.00
Worker Queue: Serialised Access to the ThreadPool
Updated: 14 Jun 2004
An abstraction layer for applications to intercept access between the application and threadpool, to better manage processing upon it.
C#, Windows, .NET1.1, VS.NET2003, Dev
 
jburrow 3.63
Cancellable Thread Pool
Updated: 16 Dec 2004
A replacement ThreadPool with Abort and Resume functionality.
C#, Windows, .NET1.0, .NET1.1, VS.NET2003, Architect, Dev
 
Al Gardner 3.52
Synchronizing Multiple Threads in the ThreadPool
Updated: 17 Jan 2006
An article on thread synchronization and usage of ThreadPool
VB6, C#, Windows, .NET2.0, VS2005, Dev
 
Manassypov 3.22
Application ThreadPool Supporting WaitAll, Ordering, and Uniqueness
Updated: 3 Apr 2007
This ThreadPool library offers greater configuration of the way that it dispatches and processes work items. This extension supports WaitAll(), Prioritisation, and Uniqueness.
C#, Windows, .NET2.0, .NET3.0, VS2005, Dev
 
jburrow 3.11
A Custom Thread Pool Implementation Using C#
Updated: 10 Mar 2009
This article describes a custom thread pool implementation using the .NET Framework and C# 3.0.
C#2.0, C#3.0, .NET2.0, .NET3.0, .NET3.5, Dev
 
Vitaliy Liptchinsky 1.62
Don't waste time! Synchronize your ThreadPool.
Updated: 7 Jul 2005
This article is about some fun with ThreadPool. You can make the thread work even when it is waiting.
C#, Windows, .NET1.1, VS.NET2003, Dev
 
Balamurali Balaji 1.20

Threading 

top
Title / Updated Author Score  
Testing reader/writer locks
Updated: 20 Jan 2009
This article describes testing the results of reader/writer locks on Windows XP/Vista Uniprocessor and Multi-core PCs.
VC6, VC7, VC7.1, VC8.0, WinXP, Win2003, Vista, Win32, Dev
 
Valery Grebnev 5.00
Testing distributed memory pools
Updated: 20 Jun 2009
This article describes a simple approach and test results when creating distributed pools of objects for high-performance applications on a Multi-core PC.
VC6, VC7, VC7.1, VC8.0, Dev
 
Valery Grebnev 5.00
Hide! Hide in the back!
Updated: 2 Jul 2009
An idea for a background threads manager.
C#1.0, C#2.0, C#3.0, .NET, Dev
 
ovidiu_tudorache 5.00
Is the Ready Queue FIFO?
Updated: 26 Jul 2009
The Truth and the Proof.
C#, .NET, Dev
 
Nicholas Butler 5.00
Testing simple concurrent containers
Updated: 25 Oct 2009
This article illustrates simple approaches and test results when creating containers with concurrent flavor and running on a multi-core PC.
C++, Windows, Dev
 
Valery Grebnev 5.00
Thread Synchronization Constructs Used in the CLR
Updated: 5 Jun 2009
This article is meant to sort through and explain some of the complexities in threading.
C#1.0, C#2.0, C#3.0, .NET, Dev
 
logicchild 5.00
Understanding SynchronizationContext: Part II
Updated: 29 Dec 2008
Create your own Synchronization Context.
C# (C#1.0, C#2.0, C#3.0)
 
mikeperetz 4.97
Understanding SynchronizationContext: Part III
Updated: 29 Dec 2008
Using SynchronizationContext with WCF.
C#, .NET, Dev
 
mikeperetz 4.96
Understanding SynchronizationContext (Part I)
Updated: 3 Jan 2009
How to use SynchronizationContext
C#, .NET, Dev
 
mikeperetz 4.94
TAM - Threaded Array Manipulator
Updated: 14 Nov 2006
Performing mathematical operations on large arrays while exploiting 100% of a multi-core CPU.
C#, Windows, .NET, Visual-Studio, Dev
 
Gilad Kapelushnik 4.93
A Fiber Class (and Friends)
Updated: 1 Jul 2008
Fibers are a lightweigtht cooperative threading mechanism, or a coroutine mechanism, depending on how you look at them. Besides providing a very efficient thread-like implementation, fibers allow you to provide "continuations", that is, computations which perform some function, suspend themselves, a
C++, Windows, Dev
 
Joseph M. Newcomer 4.88
A C# class to invoke almost any method from a worker thread
Updated: 2 Nov 2003
C# code that makes multithreading easier
C#, .NET1.0, .NET1.1, Win2K, WinXP, Win2003, Dev
 
Xiangyang Liu 刘向阳 4.88
Generic Background Worker
Updated: 8 Sep 2009
No more unboxing/casting! Use generic type parameters with this background worker. Source code for C# and VB.NET.
C#2.0, C#3.0, VB8.0, VB9.0, C#4.0, VB10, .NET, WinXP, Win2003, Vista, Win2008, Win7, Win2008-R2, Win32, Win64, VS2008, VS2010, Dev
 
DaveyM69 4.86
Parallel programming in .NET - Internals
Updated: 21 Jul 2010
.NET 4 brings a powerful Task library to support a piece of code to run in parallel processors. What it does just simply spawns threads into multiple processes using the newly written task libraries (System.Threading.Tasks) in mscorlib 4.0. Task libraries contain methods like For, ForEach and Invok
C#, Architect, Dev, Threading, library, programming, .NET4
 
Manabendra Roy (Manab) 4.85
A Worker Thread Class For Processing Work Units
Updated: 13 Sep 2006
Processing work units in a single thread instead of using a thread pool.
C#2.0, Windows, .NET, Visual-Studio, Architect, Dev
 
Marc Clifton 4.82
A C# Threading Reference Manual
Updated: 10 May 2010
An article that defines managed threading from the basics to the intermediate.
C#2.0, C#3.0, C#4.0, .NET, WinXP, Win2003, Vista, Win2008, Win7, Win2008-R2, VS2005, VS2008, VS2010, Dev
 
logicchild 4.81
Thread synchronization: Wait and Pulse demystified
Updated: 23 Aug 2008
An article on the Wait and Pulse methods of the Monitor class.
C#, .NET, Architect, Dev, Design
 
Nicholas Butler 4.81
AbortIfSafe
Updated: 15 Feb 2011
How to detect if a thread is in a problematic situation before calling Abort
C#, .NET, Dev
 
Paulo Zemek 4.81
Better Way to Sleep: Control Execution and Limit CPU Usage by your Threads
Updated: 27 Aug 2008
Here is a class that will help you to control the execution of your threads that involves looping/polling and also limits their CPU usage to a specified limit.
C++/CLI, C, VC6, VC7, VC7.1, VC8.0, Windows, Win32, Win64, Architect, Dev, Design
 
Lone Developer 4.76
Another way to Invoke UI from a Worker Thread
Updated: 3 Oct 2005
This article demonstrates an alternative way of invoking UI event handlers from a worker thread.
C#, Windows, .NET1.1, VS.NET2003, Dev, WinForm
 
Alexey A. Popov 4.73
Intraprocess Thread Messaging
Updated: 18 May 2010
A class library that creates worker threads and the communications structures for messaging between them.
C#3.0, .NET, VS2008, Architect, Dev
 
WillSkou 4.71
Single-threaded concurrency model design
Updated: 12 Jul 2009
A lightweight library to support single-threaded concurrency with multiple components.
VC6, VC7, VC7.1, VC8.0, Windows, Dev
 
valdok 4.69
Creating a C++ Thread Class
Updated: 8 Nov 2007
A look at platform independent threading in C++.
VC8.0, Linux, WinXP, VS2005, Dev
 
Walter Capers 4.69
Threading in .NET and WinForms
Updated: 7 May 2007
Guide to handle threads in .NET and WinForms.
C#1.0, Windows, .NET1.1, VS.NET2003, Dev, WinForm
 
Jesu Benin 4.68
CWorkerThread and IWorkerThreadClient – Looking Further
Updated: 28 Jul 2006
A tutorial on how to use the ATL7 thread class CWorkerThread and its associated helper classes CRTThreadTraits, IWorkerThreadClient etc. It also presents a generic logging component which can be used in CPU intensive applications.
C++, Windows, Visual-Studio, ATL, Dev
 
Milton K Baby 4.67
The FactoryDictionary
Updated: 3 Dec 2009
Safely blocking heavyweight object instantiation in a dictionary without blocking unrelated requests.
C# (C#3.0), .NET (.NET3.5), Dev
 
Adam Robinson 4.64
Component Manipulator from separate threads
Updated: 26 Aug 2009
An easy to use form component manipulator from separate threads.
C#1.0, C#2.0, C#3.0, .NET, Dev
 
badicuady 4.64
Singleton Design Pattern and Thread Safety
Updated: 26 Jul 2010
Everything there is to know about Singletons and thread safety.
C++, Dev
 
Ananth.tm 4.62
ConvergeWait
Updated: 18 Jan 2010
Wait for multiple threads to complete.
C#, .NET, Dev
 
Alaric Dailey 4.60
Writing an Asynchronous API for a Windows Forms Client Application
Updated: 2 Sep 2009
An article with a goal of simplifying multithreading on a .NET client application.
C#1.0, C#2.0, C#3.0, .NET, Dev
 
logicchild 4.59
PipeStream, a Memory Efficient and Thread-Safe Stream
Updated: 10 Nov 2008
PipeStream is a thread-safe read/write data stream for use between two threads in a single-producer/single-consumer type problem.
C#2.0, Windows, .NET2.0, VS2005, Dev
 
James Kolpack 4.58
Threading and UI
Updated: 12 Dec 2004
A simple asynchronous threading example for keeping the UI code relatively free from worker thread delegate proxy declarations.
C#, Windows, .NET1.0, Dev
 
Gary J. Kuehn 4.50
Thread Synchronization with Interlocked Class
Updated: 28 Nov 2011
An introduction to interlocked class for thread synchronization in .NET Framework
C#, Windows, Threading
 
Pranjit Kalita 4.50
Double-Checked Locking Optimization
Updated: 26 Oct 2009
The Double-Checked Locking Optimization Design Pattern reduces contention and synchronization overheads whenever critical sections of code must acquire locks in a thread-safe manner just once during program execution.
C++, Architect, Dev
 
Hamed Ebrahimmalek 4.45
Simplify Asynchronous Method Calls by Using a Base Class
Updated: 11 Dec 2010
A template for calling methods asynchronously and returning the results on the caller's thread.
C#3.0, .NET2.0, .NET3.0, .NET3.5, WPF, Dev, WinForm
 
aef123 4.43
Almost like Java threads
Updated: 23 Sep 2007
A Java like threading framework.
VC6, Java SE, Win2K, WinXP, Win2003, STL, Dev
 
rtybase 4.42
Use Thread Local Storage To Pass Thread Specific Data
Updated: 1 Apr 2003
Use named data slots in threads to pass thread-specific data.
C#, .NET1.0, Win2K, WinXP, Dev
 
Doug Doedens 4.38
Reader/writer locks with a helper
Updated: 16 Mar 2009
This article describes a heuristic approach when developing reader/writer spin-locks for Windows XP/Vista.
VC8.0, VC9.0, WinXP, Vista, Win32, Win64, Dev
 
Valery Grebnev 4.33
Task Pattern meets the Command Pattern
Updated: 16 Sep 2005
Communicating across a network can be time consuming manifesting itself as an unresponsive user interface. This article tries to solve the problem.
C#, Windows, .NET1.0, Dev
 
Gary J. Kuehn 4.33
Thread Execution Management and Advanced Thread Queuing in .NET 1.x and 2.0
Updated: 24 Jan 2006
Thread execution management and advanced thread queues.
C#, Windows, .NET1.0, .NET1.1, .NET2.0, VS2005, Dev
 
Vladimir S. 4.32
A simple in-process semaphore using C#
Updated: 10 Jul 2003
Creating a semaphore to limit a given number of threads accessing a resource in a process.
C#, Windows, .NET1.0, .NET1.1, Dev
 
Sriram Chitturi 4.32
How to get started using Boost threads
Updated: 3 Dec 2011
A non-nonsense guide to setting up Boost threads in Visual Studio environments.
C++, Threading, Boost
 
AndyUk06 4.27
Introduction to making multithreaded VB.NET Apps
Updated: 17 Jun 2003
The basics on how to take advantage of VB's new (as of .NET) facilities for threading in your application.
VB, Windows, .NET1.0, .NET1.1, Visual-Studio, Dev
 
Scott Bonds 4.23
Step by Step Threads
Updated: 31 May 2008
Step by step cross thread communication and thread-safe form control updates.
C# (C#1.0, C#2.0, C#3.0), Windows, .NET, Dev
 
SIRVACodeGuy 4.15
A C# Threading Reference Manual
Updated: 7 May 2010
A reference for managed threading.
C#2.0, C#3.0, C#4.0, .NET, Dev
 
logicchild 4.14
Threading Wrapper Classes in VB
Updated: 13 Apr 2007
This contains a set of VB written classes which help with threading tasks
VB, Windows, .NET2.0, Visual-Studio, Dev
 
MartyK2007 4.11
Monitoring and Controlling a Recursing Function in a Worker Thread
Updated: 13 Apr 2010
In this case, how to list files in sub folders nicely.
VC6, VC7, VC7.1, VC8.0, MFC, Dev
 
Ben Aldhouse 4.03
Converting Icons to Images with a Background Worker
Updated: 25 Oct 2010
Using a background worker thread to execute a time consuming task
C# (C#1.0, C#2.0, C#3.0), .NET, WinForm
 
asugix 4.00
Lock Manager for .NET
Updated: 11 Aug 2003
Deadlock resolver for muti-threading applications.
C#, Windows, .NET1.0, .NET1.1, Dev
 
SZotin 3.76
Asynchronous Invocation Using BackgroundWorker
Updated: 20 Jul 2006
A simple article on implementing asynchronous code, in C#.
C#, .NET2.0, Win2K, Win2003, VS2005, Dev
 
Asghar Panahy 3.72
Thread Synchronization Using the Win32 Event Object
Updated: 3 Nov 2011
Thread synchronization using the Win32 Event object.
C++, Windows, Win32, Dev, Threading, Synchronize
 
Mitendra Anand 3.67
The Spin-Trap Technique
Updated: 15 Nov 2007
A way to combine concurrency with mutual exclusion in low-lock programming
C#2.0, Windows, .NET2.0, VS2005, Dev
 
jmhamm 3.67
Simple Threading
Updated: 7 Aug 2007
Threading for beginners
C#, Windows, .NET, Visual-Studio, Dev
 
loneferret 3.65
Scanning image dimensions using BackgroundWorker thread, ListView, and ProgressBar
Updated: 12 Oct 2009
Scanning image dimensions can take a few milliseconds, so when scanning multiple images, a BackgroundWorker thread comes in handy. The progress is updated to a ListView and shown in a ProgressBar.
C#, XML, Windows, .NET, Visual-Studio (VS2008), GDI+, Dev
 
Steini kallinn 3.33
Writing Thread Safe Code in C#
Updated: 9 Jul 2009
This article describe how to write thread safe code for multithreading.
C#1.0, C#2.0, C#3.0, .NET1.0, .NET1.1, .NET2.0, .NET3.0, .NET3.5, Dev
 
Aneesur Rehman Khan 3.26
Inter-Thread Communication Library
Updated: 17 Nov 2005
This article presents an easy and simple way to transfer data between threads.
C#, Windows, .NET1.1, VS.NET2003, Dev
 
Angel_Komarov 3.21
When a thread will terminate or dispose?
Updated: 30 May 2005
More information about threading and when a thread will dispose or will die.
VB, .NET1.1, Win2K, WinXP, VS.NET2003, Dev
 
smiling4ever 3.05
Multithreaded timed-out operation
Updated: 17 Dec 2004
Here is a class for making your multithreaded timed-out operation... without having to care about threads and timeout.
VB, Windows, .NET, Visual-Studio, Dev
 
uno freeware 3.04
Threading out tasks in a C#.NET GUI
Updated: 20 Jun 2003
This sample demonstrates threading, based on a GUI application.
C#, .NET1.0, Win2K, WinXP, Dev
 
Christopher Chartier 3.00
A basic named lock class
Updated: 30 Jan 2008
This is a utility class for acquiring named locks.
C# (C#1.0, C#2.0, C#3.0), .NET (.NET2.0, .NET3.0, .NET3.5), Architect, Dev
 
Kurt Mackey 3.00
Extended Threading: Do More with the Same Thread
Updated: 5 Jan 2008
This class is a wrapper around System.Threading.Thread
C#, Windows, .NET, Dev
 
Didjeeh 3.00
Create a thread from global\static void returning a function with any type and number of arguments
Updated: 9 Nov 2007
This is a macro which takes the name of any void returning global\static procedure, followed by the list of arguments to be passed to that procedure, and invokes the procedure with the arguments supplied, in a new thread.
VC6, VC7, VC7.1, VC8.0, WinXP, VS2005, Dev
 
Lone Developer 3.00
VC++ Thread Synchronizatrion Using Events
Updated: 17 Dec 2006
This article demonstrates how to synchronize two threads using events.
VC6, VC7, Win2K, WinXP, VS.NET2003, Dev
 
Neeraj Vaidya 2.80
Synchronization Basics and Concept of Using a Synchronized Wrapper
Updated: 21 Feb 2005
To prevent concurrent access to a data structure, one way is to use thread-aware objects, the other is to make a thread-safe wrapper for the object.
C#, .NETCF, Mobile, .NET1.1, Win2K, WinXP, Win2003, VS.NET2003, Dev
 
volkan.ozcelik 2.69
Thread-safe priority queue in C#
Updated: 5 Feb 2010
This article describes a simple technique to implement functionality allowing the usage of prioritized queues within a multithreaded application.
C#2.0, C#3.0, .NET2.0, .NET3.0, .NET3.5, Dev
 
wili98 2.67
Understanding Threading in .NET Framework
Updated: 24 Apr 2005
Threading in .NET Framework at a glance.
C#, Windows, .NET, Visual-Studio, Dev
 
Chandrakant Parmar 2.62
Thread Safe Happiness Using a Helper Class
Updated: 6 Dec 2011
Local scope delegates and Lambda expressions allow for some very smart and useful utility functions.
C#4.0, .NET, Dev, Threading, Parallel
 
essence 2.57
Invoking events without worrying about cross-thread exceptions
Updated: 13 May 2010
Eliminate InvalidOperationException on events called across threads that change control properties.
C#, Windows, .NET, Dev, WinForm
 
Allen Jansen van Nieuwenhuizen 2.38
Simple Thread Example
Updated: 5 Jul 2009
This program shows how to use threads in your application using MFC.
VC6, WinXP, MFC, Dev
 
Chetan Raiyani 1.58
The simplest thread example in the world
Updated: 20 Jul 2007
Shows the difference between running code on the main form thread, and in a separate thread.
C#2.0, Windows, .NET2.0, VS2005, Dev
 
rimblock 1.22
MethodSynchronizer
Updated: 12 Oct 2006
How to synchronize threads within a method or multiple methods in an object.
VB, Windows, .NET, Visual-Studio, Dev
 
Master DJon 1.00
A Base Class to Allow Start/Stop Threading Safely
Updated: 21 Apr 2011
This is a quick article on how to apply a nice easy base class to the age-old problem of getting your classes to support internal worker threads in a thread-safe manner
C#, Dev
 
Gizz  

Threads, Processes & IPC - Threads 

top
Title / Updated Author Score  
Thread Sychronization using monitors
Updated: 31 Oct 2001
Introduction to using the Monitor class for accessing shared resources from multiple threads
C++/CLI, Windows, .NET1.0, Visual-Studio, Dev
 
Nish Sivakumar 5.00
Switching threads
Updated: 16 Sep 2007
How to switch the thread that a routine is running on.
VC6, VC7, VC7.1, VC8.0, Win2K, WinXP, Win2003, Vista, VS.NET2003, VS2005, Dev
 
Rajasekharan Vengalil 5.00
Native Thread Injection | Into the Session Manager Subsystem
Updated: 11 May 2009
This small article describes thread injection routine from one windows native application into another, in this case - injection into Session Manager Subsystem during system boot.
C, Windows
 
csrss 5.00
CThread - a Worker Thread wrapper class
Updated: 3 Dec 1999
A class that allows the simple implementation of worker threads
C++, Visual-Studio, Dev
 
Dominik Filipp 4.98
Using Semaphores: Multithreaded Producer/Consumer
Updated: 14 Jun 2001
An introduction to using Semaphores.
VC6, Win2K, MFC, Dev
 
Joseph M. Newcomer 4.97
Multithreading VB Style: Locking A Shared Resource
Updated: 22 Oct 2003
A COM component to protect your shared resources in multithreaded applications.
VC6, Win2K, WinXP, Win2003, MFC, Dev
 
Xiangyang Liu 刘向阳 4.97
Rabbit Threads: Making Threads Jump
Updated: 14 Nov 2007
Compel threads to execute out of context code using inline assembly.
VC6, VC7, VC7.1, VC8.0, Win2K, WinXP, Win2003, Vista, VS.NET2003, VS2005, Dev
 
Jeffrey Walton 4.96
Yet Another Thread Monitor
Updated: 8 Jan 2004
This article discusses the use of Asynchronous Procedure Calls for Kernel/User mode communication.
VC7, VC7.1, Win2K, WinXP, MFC, VS.NET2003, Dev
 
Tim Deveaux 4.95
A C# Framework for Interprocess Synchronization and Communication
Updated: 8 Aug 2004
How to share resources and implement a rich message/data passing architecture between threads and processes (SOA)
C#, Windows, .NET1.1, VS.NET2003, Dev
 
Christoph Ruegg 4.95
Using Worker Threads
Updated: 5 Apr 2001
Learn how to create and use worker threads in your applications.
VC6, Visual-Studio, MFC, Dev
 
Joseph M. Newcomer 4.93
An exception safe OO thread-pool framework
Updated: 30 Jun 2003
Provides a plug in multithreaded environment, using an exception safe thread-pool and functors.
VC6, VC7, Win2K, WinXP, Dev
 
Peter Hancock 4.92
Towards Cleaner Code, A C# Asynchronous Helper
Updated: 1 Oct 2008
An asynchronous helper class in C# that adds flexibility and greatly reduces the code required to invoke and track an async task
C#2.0, Windows, .NET2.0, Dev
 
Nicholas Brookins 4.92
How to pass data to worker threads
Updated: 30 Oct 2001
Shows how you can pass data to your worker threads
C++/CLI, Windows, .NET1.0, Visual-Studio, Dev
 
Nish Sivakumar 4.91
Work Queue
Updated: 1 Feb 2003
Simple and elegant thread pool.
VC6, VC7, Win2K, WinXP, STL, Dev
 
Uri Twig 4.89
Easy asynchronous operations with AsyncVar
Updated: 1 Dec 2009
A simple class to asynchronously retrieve a value and hold it until needed.
C#3.0, VB9.0, .NET, Dev
 
Adam Maras 4.86
Cross thread calls in native C++
Updated: 19 Jul 2007
An article which discusses the need for synchronization in multi-threaded applications, and features a generic framework for making calls across threads: ThreadSynch.
VC7, VC7.1, VC8.0, WinXP, Vista, VS.NET2003, VS2005, Dev
 
einaros 4.84
Introduction to Multi-threaded Code
Updated: 26 Mar 2000
Synchronizing worker threads using 3 different methods
VC6, Visual-Studio, Dev
 
William T. Block 4.84
Towards Cleaner Code II, a C# GUI Invoke/Async Helper
Updated: 1 Oct 2008
An async helper class in C# with GUI Invoke capability, that greatly reduces the code required to invoke and track tasks that affect forms and controls.
C# (C#2.0), Windows, .NET (.NET2.0), Dev
 
Nicholas Brookins 4.82
A More Complete DLL Injection Solution Using CreateRemoteThread
Updated: 17 Aug 2007
This article explores a more complete method of injecting a DLL into another process using the CreateRemoteThread approach.
C, VC6, VC7, VC7.1, VC8.0, Win2K, WinXP, Win2003, Vista, VS.NET2003, VS2005, Dev
 
Drew_Benton 4.82
User-Level Spin Locks
Updated: 23 Oct 2000
An introduction to using spin locks for synchronization.
VC6, Win2K, Visual-Studio, Dev
 
Gert Boddaert 4.81
Queue Manager: Policy Based Design
Updated: 21 Feb 2005
Queue Manager class which automatically adjust the number of threads based on pending tasks in the queue. Policy based design concept is used to provide flexibility and extensibility.
C++, Windows, Visual-Studio, Architect, Dev
 
Rohit Joshi 4.79
SafeThread - Prevent Unhandled Exceptions in Secondary Threads
Updated: 19 Aug 2008
Prevent unhandled exceptions in secondary threads, using SafeThread
C#, Windows (Win2K, WinXP, Win2003, Vista, TabletPC), .NET (.NET2.0), Visual-Studio, Architect, Dev, QA, Design
 
Steven A. Lowe 4.78
Win32 Thread Pool
Updated: 7 Feb 2011
An implementation of a Thread Pool in C++ for Windows
C++ (VC6, VC7.1), Windows, Dev
 
Siddharth R Barman 4.75
Lock & Wait Synchronization in C++
Updated: 28 Jul 2008
Applying lock and wait synchronization in C++.
VC7, VC7.1, VC8.0, Win2K, WinXP, VS.NET2003, VS2005, Dev
 
Volodymyr Frolov 4.70
Thread Local Storage - The C++ Way
Updated: 27 Aug 2004
How to put class objects in TLS with automatic destructor invocation.
VC6, VC7, VC7.1, Win2K, WinXP, VS.NET2003, Dev
 
Roland Schwarz 4.67
Using events for thread synchronization
Updated: 27 Mar 2002
An introduction to using signaled events for thread synchronization in .NET
C#, Windows, .NET2.0, Visual-Studio (VS2010), Dev
 
Nish Sivakumar 4.66
Member Threads
Updated: 1 May 2002
A template function that makes creating threads that use class member functions easier.
VC6, VC7, Win2K, WinXP, Dev
 
Luca Piccarreta 4.62
The key to multi-threaded Windows Forms UI interaction
Updated: 5 Apr 2002
Teaches how to use the Invoke functionality so that interaction with UI elements can be safely done.
C#, .NET1.0, Win2K, WinXP, Dev
 
James T. Johnson 4.61
Waiting for a thread to terminate
Updated: 5 Sep 2002
How to pause the main thread until a secondary thread is finished
VC6, VC7, Win2K, WinXP, MFC, Dev
 
Ybbozman 4.57
A C++ Cross-Platform Thread Class
Updated: 15 Nov 2003
Write portable object-oriented threads that work on Win32 and Posix-Compliant systems without modification.
VC7, VC7.1, Win2K, WinXP, Win2003, Visual-Studio, Dev
 
Phillip Sitbon 4.56
Managed Thread Synchronization
Updated: 23 Aug 2011
Using only Managed Resources to create Thread Synchronization
C#
 
Paulo Zemek 4.56
Lengthy Operations Without Multiple Threads
Updated: 1 Mar 2004
A Templated Class, with callback functions, to Make It Easy
VC6, Win2K, WinXP, MFC, Dev
 
Mike O'Neill 4.54
Encapsulating Win32 threads in C++
Updated: 26 Jul 2001
This article presents a class to encapsulate threads, leaving the user to focus on project details.
VC6, eVC3.0, eVC4.0, Windows, WinMobile, Mobile, Visual-Studio, Dev
 
Ciprian Miclaus 4.53
A programming model to use a thread pool
Updated: 30 Sep 2000
A class to manage the thread pool
VC6, Win2K, MFC, Dev
 
Sherwood Hu 4.52
Threads And Timers
Updated: 26 Jan 2004
Adding a WM_TIMER message to CWinThreads.
VC6, VC7.1, Win2K, WinXP, Win2003, MFC, VS.NET2003, Dev
 
David A. Jones 4.50
C# Worker Thread Starter Kit
Updated: 4 Jul 2004
This article describes a simple pattern for worker threads and Form based programs.
C#, Windows, .NET1.1, VS.NET2003, Dev
 
James Rudnicki 4.49
RmThread - Code execution in Another Process Context.
Updated: 17 Aug 2006
An injection code tool to make simple run threads remotely.
VC6, VC7.1, Win2K, WinXP, VS.NET2003, Dev
 
Wanderley Caloni 4.47
A Method of Worker Thread Pooling
Updated: 5 Feb 2003
A Method of Worker Thread Pooling
VC6, VC7, Win2K, WinXP, MFC, Dev
 
Pradeep Kumar Sahu 4.47
How to use the same thread function for multiple threads (safely)
Updated: 28 May 2001
This article shows you how to subclass CWinThread to create a class that allows multiple instances to effectively use the same thread function, safely.
VC6, Win2K, Visual-Studio, MFC, Dev
 
Derek Lakin 4.35
Using Win32 Semaphores in C#
Updated: 30 Sep 2002
How to use Windows semaphores in C# to share access to a system resource between many processes.
C#, .NET1.0, Win2K, WinXP, Dev
 
Robin Galloway-Lunn 4.33
Thread Debugging with the Thread Information Block
Updated: 5 Jun 2002
How to use the Thread Information Block to store descriptive information about the thread
VC6, Win2K, WinXP, Dev
 
Hans Dietrich 4.31
Make Tasks in Thread Pool to Collaborate
Updated: 23 Jun 2005
This article discusses how to use thread pool to execute a job which consists of a list of collaborative tasks.
VC6, Win2K, WinXP, MFC, Dev
 
Jek Platform 4.30
Name your threads in the VC debugger thread list
Updated: 13 Oct 2004
The VC debugger displays a name for every thread. This article describes how to control what VC displays in the thread list.
VC6, VC7, VC7.1, VC8.0, Win2K, WinXP, Win2003, Vista, Visual-Studio, Dev
 
Patrick Hoffmann 4.25
Using User-Interface Threads
Updated: 16 May 2000
Learn tricks on how to create and use a User-Interface thread.
VC6, Visual-Studio, MFC, Dev
 
Joseph M. Newcomer 4.25
Asynchronous Function Calls: Working with Win32 threads made easy
Updated: 7 May 2007
An article on the new approach to utilize Win32 threads in a more intuitive manner.
VC6, VC7, VC7.1, VC8.0, Windows, MFC, VS.NET2003, VS2005, Dev
 
JaeWook Choi 4.21
An easy to use worker thread
Updated: 30 Oct 2001
Use worker threads in your application without the complicated details
VC6, VC7, Win2K, Dev
 
Frank Melber 4.16
Method for detecting and solving deadlocks in multithreading applications
Updated: 17 Oct 2001
Presenting a method for detecting and solving deadlocks in multithreading applications using critical sections as synchronization objects
VC6, Win2K, MFC, STL, Dev
 
George Anescu 4.11
Simple thread pool manager
Updated: 23 Jun 2005
A simple thread pool implementation.
VC6, MFC, Dev
 
Nilesh K. 4.11
Win32 Worker Thread Wrapper
Updated: 18 Apr 2003
Win32 Worker Thread Wrapper
VC6, Win2K, Dev
 
Amer Gerzic 4.05
WorkerThread Library
Updated: 7 Nov 2005
An article on a generic WorkerThread library.
VC6, Visual-Studio, MFC, Dev
 
Ethihas 4.00
Synchronized multi-threading in C++ (No MFC!)
Updated: 19 Apr 2007
A C++ wrapper for Win32 multi-threading
VC6, Visual-Studio, Dev
 
AnOldGreenHorn 4.00
Base Class to Make a User Thread Manager Check User Jobs
Updated: 23 Aug 2011
Pattern to make a user Thread Manager to check the Synchronous or Asynchronous call. This class can be specialized and used in a normal windows service and checks the jobs status.
C#, Windows, .NET (.NET3.5)
 
SerLor 4.00
Thread Synchronization for Beginners
Updated: 11 Aug 2004
This article explains how to use Simple Thread synchronization in Win32 and MFC.
VC6, MFC, Dev
 
R.selvam 3.99
A security neutral mutex class for the managed platform
Updated: 5 May 2006
An article on a security neutral mutex class that can be used on any managed platform.
C++/CLI, .NET1.1, .NET2.0, Win2K, WinXP, Win2003, VS.NET2003, VS2005, Dev
 
Milton K Baby 3.93
QueueUserAPCEx: Extending Win32 User-Mode Asynchronous Procedure Calls (APCs)
Updated: 2 Oct 2003
An implementation of QueueUserAPCEx: a useful extension of QueueUserAPC
VC6, Win2K, WinXP, Visual-Studio, Dev
 
xdoukas 3.89
How to build a healthy multithreaded program - Issues regarding Multithreading and COM and a Multi threaded tool to Find Broken links in a Web Page
Updated: 5 Oct 2004
How to build a healthy multithreaded program - Issues regarding Multithreading and COM and a Multi threaded tool to Find Broken links in a Web Page
VC6, Windows, Dev
 
Cheeran Santhosh 3.87
Unix ucontext_t Operations on Windows Platforms
Updated: 7 Mar 2007
An article on the implementation of Unix ucontext_t operations on Microsoft Windows.
VC6, VC7, Win2K, WinXP, Visual-Studio, Dev
 
xdoukas 3.81
SafeThread - A deadlock free worker thread
Updated: 2 May 2004
An article on a simple way to call User Interface methods from a worker thread, avoiding a common deadlock situation
VC7.1, WinXP, VS.NET2003, Dev
 
itaifrenkel 3.73
Using AfxBeginThread with class member controlling function
Updated: 19 Jun 2002
Create worker threads with class member controlling function
VC6, VC7, Win2K, WinXP, MFC, Dev
 
Enis 3.70
Managed threads in Managed C++
Updated: 3 Apr 2002
How to create threads in Managed C++
C++/CLI, VC6, VC7, .NET, Win2K, WinXP, Visual-Studio, MFC, Dev
 
Albert Pascual 3.67
Queue & ThreadPool class in Managed C++
Updated: 9 Apr 2004
The article describes a simple class that implements a ThreadPool based on an object Queue.
C++/CLI, VC7.1, .NET1.1, Win2K, WinXP, Win2003, VS.NET2003, Dev
 
big71 3.64
Demonstration of multi-threading with a distributed control
Updated: 14 Dec 2005
This is a small multi-threaded application that simulates cars moving in random directions.
C#, VC6, Windows, .NET, Dev
 
Farhat Aisha 3.55
Thread pool class Bug Fixed
Updated: 24 Aug 2002
Fixed a bug about Thread pool class submited by Sherwood Hu
VC6, VC7, Win2K, WinXP, Visual-Studio, MFC, Dev
 
Simon.W 3.50
Template Thread Library
Updated: 26 Feb 2003
Allows any class method to be executed in a separate thread without global functions.
VC7, Win2K, WinXP, Visual-Studio, Dev
 
Emad Barsoum 3.50
QueueUserAPCEx Version 2: Truly Asynchronous User-Mode Notification on Windows Platforms
Updated: 30 May 2004
An article on the new version of QueueUserAPCEx: a useful extension of QueueUserAPC.
VC6, Win2K, WinXP, Visual-Studio, Dev
 
xdoukas 3.46
A Generic C++ Thread Class
Updated: 14 Nov 2001
This article presents a class that can either be readily used as a Container for existing worker threads or can be enhanced(inherited) for OO Style programming
VC6, VC7, Win2K, Dev
 
Arun N Kumar 3.43
Making your C++ code thread-safe
Updated: 29 Jan 2002
A simple C++ critical section implementation for the Win32 platforms
C++, Windows, Visual-Studio, Dev
 
Xiangyang Liu 刘向阳 3.36
Effective Threads in C++ - Part 1: The Basic Thread Class
Updated: 22 Nov 2006
Wrapping the Win32 Thread API into a C++-friendly class.
VC6, VC7, VC7.1, VC8.0, Windows, Visual-Studio, Dev
 
FlamTaps 3.35
A small but effective discussion on threads - CxThread class !
Updated: 14 Mar 2003
A small but effective discussion on threads , how they work , and tips and tricks ! Plus a cool implementation !
VC7, Win2K, WinXP, Visual-Studio, Dev
 
TomKat 3.29
Thread Synchronization Classes
Updated: 29 May 2000
Implements a set of classes for thread synchronization.
VC6, Visual-Studio, MFC, Dev
 
Zoran M. Todorovic 3.27
MFC UI Threads
Updated: 17 Aug 2004
A simple UI thread example.
VC6, VC7.1, MFC, VS.NET2003, Dev
 
telemacher 3.24
Using Synchronized Threads
Updated: 30 Nov 2002
Example on using threads which are synchronized.
C#, .NET1.0, Win2K, WinXP, Dev
 
Ahmad Al-Kayali 3.24
Using templated mutex variables
Updated: 21 May 2003
Templated class to transparently use variables associated with mutexes
VC6, VC7, Win2K, WinXP, MFC, Dev
 
Rui Dias Lopes 3.18
Simple Worker Thread Class
Updated: 5 May 2009
A simple worker thread class with Join and post thread message
C++ (VC6, VC7, VC7.1, VC8.0), C++/CLI, C, Windows (Win2K, WinXP), Win32, Dev
 
Manish K. Agarwal 3.14
Message Thread Using IoCompletionPort
Updated: 1 May 2008
Thread communication made easy!
C++ (VC6, VC7, VC7.1, VC8.0), C++/CLI, C, Windows, Visual-Studio
 
My2Cents 3.11
A Thread Pool compatible with Win32 and pthreads API
Updated: 9 Apr 2008
A cross-platform thread pooling implementation
VC6, Win2K, WinXP, STL, Dev
 
Thomas George 3.10
Job-based Multithreading
Updated: 12 May 2002
A threadpool class supporting job objects which runs on (almost) all Windows versions
VC6, Win2K, WinXP, MFC, Dev
 
Andreas Saurwein Franci Gonçalves 3.00
Calling a non-static member function as a thread function
Updated: 27 Oct 2006
This article describes how to call a C++ class member function as a thread function.
VC6, Win2K, WinXP, Dev
 
sinan kul 2.90
A C++ Thread Class
Updated: 28 Jan 2004
An article on wrapping the Win32 threading APIs.
VC6, VC7.1, VS.NET2003, Dev
 
Wytek Szymanski 2.89
Mapping POSIX threads to C++ code
Updated: 8 Jun 2008
Mapping POSIX threads to object oriented C++ code.
C++ (VC6, VC7, VC7.1, VC8.0), C++/CLI, C
 
FlorianPraxmair 2.85
Spin Lock
Updated: 16 Jun 2002
Efficient synchronised access to shared resources
VC6, VC7, Win2K, WinXP, Visual-Studio, Dev
 
Craig Henderson 2.83
Threads and shared resources
Updated: 31 Aug 2003
The objective of this article is to demonstrate the result of common access to a resource by different threads
VC6, Win2K, WinXP, MFC, Dev
 
Aria Ansari 2.81
Single Thread vs Dual Thread
Updated: 9 Oct 2004
An introduction to one of the optimization methods for Intel Dual Xeon HT technology.
C, VC6, Win2K, WinXP, Win2003, Dev
 
f2 2.67
Simple Introduction to Threads in C# for Beginners
Updated: 17 Aug 2007
Simple introduction to threads in C# for beginners
C#, Windows, .NET, Visual-Studio, Dev
 
alfi uziel 2.61
Session locks in multi-threaded programming
Updated: 29 Jan 2004
An article about synchronizing threads at a session level
C#, VC6, Windows, .NET1.1, VS.NET2003, Dev
 
Wytek Szymanski 2.56
PStat v1.2 - Threading Framework
Updated: 3 Mar 2000
A Freeware generalized framework for executing a lengthy operation in a thread.
VC6, MFC, Dev
 
PJ Naughter 2.50
Java-like Synchronized Blocks in C++ with Pure WinAPI
Updated: 14 Aug 2007
An article on how to make C++ synchronized multi-threaded code in Win32 nice, clear and more bugless
C++, Windows, Visual-Studio, Dev
 
Michael Patlis 2.50
A thread pool implementation
Updated: 25 Apr 2003
A simple thread pool
VC6, VC7, VC7.1, Windows, Visual-Studio, Dev
 
Rajeev Sadasivan 2.38
Cross Platform Threads
Updated: 15 Oct 2006
A cross platform thread class.
VC6, Windows, Linux, Dev
 
Amit Gupta MDS 2.19
Effective Threads in C++ - Part 2: The ExitableThread Class
Updated: 22 Nov 2006
Wrapping the Win32 Thread API into a C++-friendly class.
VC6, VC7, VC7.1, VC8.0, Windows, Visual-Studio, Dev
 
FlamTaps 2.18
I/O Completion Port DLL
Updated: 21 Jul 2008
This article explores the IO Completion Port mechanism provided in Windows and compare it with the other mechanisms available to wait for an IO completion
C++ (VC6), Windows, MFC, Dev
 
google73 2.12
CThread
Updated: 23 Aug 2005
CThread simplifies the process to start, run and stop threads. You can use it to work with threads in the same way as you do in C# or Java.
C++/CLI, eVC, VC6, VC7, VC7.1, VC8.0, WinMobile, .NET, Mobile, Win2K, WinXP, Win2003, Vista, TabletPC, Dev
 
PEK 1.60
Threads without threads
Updated: 28 Jun 2007
How threads work, and how to create threads without using any API.
VC6, VC7, VC7.1, VC8.0, WinXP, VS.NET2003, Dev
 
Elias Bachaalany 1.17
A Safe Mutex for Deadlocks - Unedited
Updated: 7 Dec 2008
mutex wrapper class
C++ (VC6, VC7, VC7.1, VC8.0), C++/CLI, C
 
tommy500 1.00

Advertise | Privacy | Mobile
Web03 | 2.5.120209.1 | Last Updated 10 Feb 2012
Copyright © CodeProject, 1999-2012
All Rights Reserved. Terms of Use
Layout: fixed | fluid