Click here to Skip to main content
6,633,937 members and growing! (24,626 online)
Email Password   helpLost your password?
Article Category: All Topics MFC/C++ C# VB.NET ASP.NET SQL Architect Windows 7 Java LAMP Mobile CEO / Manager
Announcements
BullFrog Power
 
Search    
Add to IE Search

Threads, Processes and IPC


General Programming » Threads, Processes & IPC
Language
Platform
Technology
Audience
Skill Level
Topic
Clear All

Contents

 

Threads and Processes - General

top
Title / Updated Author Score  
Threading Problem - Unedited
Updated: 19 Nov 2009  
It's probably because you're kicking off a thread that will reset isRunning.  You are unfortunately not reseting it in the timer() method before it iterates through the next item. You've got several issues with concurrency and threading it looks like here.  I'd recommend looking online at example
C#, .NET, Visual Studio
Andrew Rissing 5.00
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.91
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.0Win2K, WinXP, Win2003VS.NET2003, VS2005, Dev
Jochen Kalmbach [MVP VC++] 4.88
Superlinear: an investigation into concurrent speedup - Unedited
Updated: 11 Oct 2009  
Making more of your cores
C# (C# 3.0), .NET (.NET 3.5), Visual Studio (VS2008), Dev
Nick Butler 4.85
Parallel Lint - Unedited
Updated: 13 Jun 2009  
The article describes a new direction in development of static code analyzers - verification of parallel programs. The article reviews several static analyzers which can claim to be called "Parallel Lint".
C++ (VC6, VC7, VC7.1, VC8.0), C++/CLI, C, Windows
Karpov Andrey 4.83
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.81
Real-Time Console Output Redirection
Updated: 31 Oct 2006  
Console process output flushing is no longer a problem with this little stub.
VC6Win2K, WinXP, Win2003, Dev
_Olivier_ 4.78
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.75
Debugging and optimization of multi-thread OpenMP-programs - Unedited
Updated: 3 Mar 2009  
The task of familiarizing programmers with the sphere of developing parallel applications is getting more and more urgent. This article is a brief introduction into creation of multi-thread applications based on OpenMP technology. The approaches to debugging and optimization of parallel applications
C++ (VC6, VC7, VC7.1, VC8.0), C, Windows
Karpov Andrey, Evgeny Romanovsky 4.72
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
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.64
Windows Memory Management
Updated: 25 Sep 2008  
This article discusses how the Windows Memory Manager works
Windows, Architect
logicchild 4.64
RMI for C++
Updated: 6 Aug 2009  
User-friendly remote method invocation in C++.
VC7.1WinXPVS.NET2003, Dev
Jarl Lindrud 4.64
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.1Win2K, WinXP, Win2003, MFC, VS.NET2003, Dev
nickadams 4.63
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.1Win2K, WinXP, Win2003VS.NET2003, Dev
PlugwareSolutionsLtd 4.63
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, WinForms, Dev
Paw Jershauge 4.60
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, .NET 2.0, Dev
N a v a n e e t h 4.58
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.56
EzProcess
Updated: 20 Oct 2007  
A processes and threads manager application.
C++, ASMWin2K, WinXP, Win2003, Visual Studio, Dev
akyprian 4.54
Multithreaded Job Queue
Updated: 21 May 2003  
An article to implement a Multithreaded Asynchronous Job Queue which also pools threads.
VC6, VC7Win2K, WinXP, MFC, Dev
Pradeep Kumar Sahu 4.52
Fast critical sections with timeout
Updated: 27 May 2007  
A faster and lighter ciritcal section implementation.
C++, Windows, Visual Studio, Dev
valdok 4.52
Asynchronously Execute PowerShell Scripts from C#
Updated: 29 Aug 2008  
How to host and asynchronously run PowerShell scripts from C#
C# 2.0.NET 2.0, WinXP, Vista, .NET 3.0VS2005, VS2008, Dev
Jean-Paul Mikkers 4.52
Creating New Threads From VB Applications
Updated: 22 Apr 2004  
A component to execute a COM method in a separate thread.
VC6, VB 6Win2K, WinXP, Win2003, Dev
Xiangyang Liu 刘向阳 4.52
Universal Console Redirector
Updated: 24 Nov 2003  
Launch a console process from your GUI app and receive its output, even from Win9x
VC6, VC7Win2K, WinXP, MFC, WTL, Dev
umeca74 4.48
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.1Win2K, WinXP, Win2003, MFC, Dev
«_Superman_» 4.47
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), WinForms, Architect, Dev
Paul B. 4.47
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.45
Tasks/Continuations and Death of the ThreadPool? - Unedited
Updated: 15 Aug 2009  
Using the VS2010 Tasks namespace
C# (C# 4.0), .NET (.NET 4.0), Visual Studio (VS2010), Architect, Dev, QA, Design
Sacha Barber 4.44
Asynchronous stream reader with progress bar support
Updated: 14 Apr 2009  
Asynchronous stream reader with progress bar support.
C#, .NET, Dev
mbostjan 4.43
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.0Win2K, WinXP, Win2003VS.NET2003, VS2005, Dev
rocky_pulley 4.43
Tricky Programming on Multi-Core Processors
Updated: 29 Feb 2008  
An article on experiments with multithreading on a multi-core processor
C#, .NET (.NET 3.5), Dev
Zaur Nasibov 4.38
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.
VC6Win2K, Dev
Maxime Labelle 4.38
Fault Protection: Using Windows Exception Filters
Updated: 2 May 2004  
An article illustrating practical uses of SetUnhandledExceptionFilter
VC6, VC7.1Win2K, WinXP, Win2003VS.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, VC7Win2K, WinXP, Visual Studio, MFC, STL, Dev
Matt Gullett 4.36
CaptureConsole.DLL - A Universal Console Output Redirector for all Compilers
Updated: 20 Nov 2009  
Capture Console Output
C++, C#, Java, VB 6, .NET
Elmue 4.34
A ThreadPool implementation
Updated: 22 May 2005  
This article describes a ThreadPool implementation.
VC6, VC7.1, WindowsVS.NET2003, Dev
Ratner Yuri 4.31
Asynchronous Stream Reader and Writer with Progress Support
Updated: 21 Apr 2009  
AsyncStreaming
C# (C# 1.0, C# 2.0, C# 3.0), .NET (.NET 2.0, .NET 3.0, .NET 3.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
Stealing Program's Memory
Updated: 2 Dec 2003  
An advanced article on allocating and using memory in another process using the Win32 API.
VC7.1Win2K, WinXP, Win2003VS.NET2003, Dev
Cory Nelson 4.23
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.23
Enforcing Single Instance of a Hidden-Window Application
Updated: 17 Nov 2006  
Yet another article on single instance, but with a twist.
C#, Windows, .NET 1.1VS.NET2003, Dev
drdre2005 4.19
Performing a hex dump of another process's memory
Updated: 6 Sep 2003  
An article on examining process memory
VC6WinXP, Dev
weariless 4.19
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.14
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, WindowsVS.NET2003, VS2005, Dev
soptest 4.14
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, .NET 2.0VS2005, Dev
Flavio.Antonioli 4.09
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
VC7Win2K, WinXP, Dev
Daniel Turini 4.05
Idiot's Guide to Grid Computing - Part I
Updated: 4 Jun 2007  
How to use grid computing with Alchemi.
C# 2.0, Windows, .NET 2.0VS2005, Dev
Styx13 4.05
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.02
Interprocess communication tutorial
Updated: 7 Oct 2001  
Using memory mapped files, mutexes and HWND_BROADCAST messages for interprocess communication
VC6Win2K, Dev
Alex Fr 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
Entering Ring 0 using minimalistic approach - Unedited
Updated: 21 Jun 2008  
Kernel adventures of brave developer and other scary tales
C++
Ladislav Nevery 4.00
Threads with MFC
Updated: 1 Feb 2003  
Multithreading Programming with a MFC environment.
VC6, VC7Win2K, WinXP, MFC, Dev
Aria Ansari 3.92
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, .NET 2.0VS2005, Dev
kian01 3.92
A solution to the Readers/Writers Problem using semaphores
Updated: 18 Oct 2002  
A solution to the Readers/Writers Problem using semaphores
VC6, VC7Win2K, WinXP, Visual Studio, MFC, Dev
Joris Koster 3.89
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 3.89
An MFC Process Class
Updated: 25 Oct 2001  
This class allows you to create a child process and receive notification of its output.
VC6Win2K, MFC, Dev
Joseph M. Newcomer 3.86
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
Get CPU Usage with GetSystemTimes
Updated: 20 Dec 2004  
Get CPU usage with GetSystemTimes.
VC6, VC7, VC7.1WinXP, Win2003VS.NET2003, Dev
ejor 3.82
Raising Events from Other Threads
Updated: 21 Jun 2008  
A generic function helps to avoid "CrossThreadCall-Exception" when raising events from side-threads
VB 8.0, Windows, .NET 2.0VS2005, Dev
Mr.PoorEnglish 3.79
Java Generic Code - Taking Control of Threaded Actions
Updated: 27 Jun 2004  
A simpler way to use Threads
Java, Dev
Doron Barak 3.76
Real Multi-threading in .NET 2.0
Updated: 5 Nov 2006  
A real multithreading example managing more than one thread
C# 2.0, .NET, WinXPVS2005, Architect, Dev
Jose Luis Latorre 3.67
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.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
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 (.NET 1.0, .NET 1.1, .NET 2.0, .NET 3.0, .NET 3.5), Win32, Win64, MFC, WinForms, Dev
alexdresko 3.61
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, VC7Win2K, WinXP, Dev
Olan Patrick Barnes 3.55
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 3.51
Application configuration file for applications
Updated: 17 Oct 2004  
Application configuration file for applications
C++, Windows, Visual Studio, Dev
Cheeran Santhosh 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.
VC6Win2K, 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, eVC 3.0, Win Mobile, .NET, Mobile, Win2K, WinXP, Visual Studio, DBA, Dev
gamitech 3.36
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.1Win2K, WinXPVS.NET2003, Dev
Feng Xu 3.36
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.33
Creating Threads using the CreateThread() API
Updated: 24 Mar 2006  
Creating threads using the CreateThread() API.
VC6Win2K, Dev
Chetan Kudalkar 3.22
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, VC7Win2K, WinXP, MFC, Dev
Olan Patrick Barnes 3.21
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, WinXPVS2005, Dev
MSCH@MDD 3.13
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
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
Create thread from global\static void returning function with any type and number of arguments. - Unedited
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 arguments supplied, in a new thread
C, ASM, VC6, VC7, VC7.1, VC8.0WinXPVS2005, Dev, Design
Lone Developer 3.00
Threading Problem - Unedited
Updated: 19 Nov 2009  
Having trouble with threading. It's for a "Simon" game and just to get it working, I need to have a button trigger a sequence that goes through each item in the stack and make the buttons blink in succession. Right now, only the first button blinks.using System;using System.Collections.Generic;using
C#, .NET, Visual Studio
Eightbitz 3.00
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, .NET 2.0VS2005, Architect, Dev
nitstheone 2.89
Shared Memory with IPC with threads
Updated: 4 Oct 2004  
Shared memory as used along with threads to communicate between processes.
VC6, VC7Win2K, WinXP, MFC, Architect, Dev
Sreekanth Muralidharan 2.78
Re-Entrant Custom Critical Section - Unedited
Updated: 2 Oct 2006  
ReEntrant code
VC6, Windows, Visual Studio, Dev
Bharath NS 2.78
A simple thread pool class
Updated: 31 Dec 2003  
A simple thread pool class
VC6, Windows, Dev
digger_chen 2.67
Improve your server with Thread Pooling
Updated: 15 Aug 2004  
This articles explains how to implement thread pooling in applications.
VC7, VC7.1Win2K, WinXP, Win2003, MFC, VS.NET2003, Dev
Eran Aharonovich 2.54
Reset Windows Administrator Account Password in C# - Unedited
Updated: 30 Apr 2007  
How to Reset Windows Administrator Account Password in C# (Silently)
C# 2.0, Windows, .NET 2.0VS2005, Dev
Qasem Heyrani Nobari 2.49
Scope Lock - Unedited
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
Ping Notify (a ping monitoring utility) - Unedited
Updated: 19 Apr 2007  
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, .NET 2.0, WinForms, VS2005, Dev
R%S 2.40
Sharing data with Memory Mapped Files - Unedited
Updated: 16 Apr 2007  
How to use Memoy mapped files.
VC6Win2K, WinXP, Win2003, MFC, Dev
Kumar Sudhir 2.38
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
Of_Services_and_Processes-Part1 - Unedited
Updated: 23 Mar 2006  
How to programmatically control process and service in Windows NT
C, VC6Win2K, WinXP, Dev
r_thampi 2.33
Advanced critical section
Updated: 8 Jul 2002  
Advanced critical section which features TryLock and timeouts
VC6, VC7Win2K, 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, VC7Win2K, WinXP, Dev
MaximE 1.61
process listing utility - Unedited
Updated: 18 Aug 2005  
small utility to show some info on a running process
C++, CWin2K, WinXP, Win2003, Vista, Visual Studio, Dev
spinny 1.60
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, .NET 1.0VS2005, Dev
Nelson Melo 1.56
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
Threads without threads - Unedited
Updated: 28 Jun 2007  
How threads work, and how to create threads without using any API
VC6, VC7, VC7.1, VC8.0WinXPVS.NET2003, Dev
lallous 1.41
Windows Memory Management - Part 2 - Unedited
Updated: 25 Sep 2008  
extension
Architect
logicchild  

Threads, Processes & IPC - Inter-Process Communication

top
Title / Updated Author Score  
RCF - Interprocess Communication for C++
Updated: 15 Jul 2009  
A server/client IPC framework, using the C++ preprocessor as an IDL compiler.
VC7.1Win2K, WinXPVS.NET2003, Dev
Jarl Lindrud 4.82
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.
VC6Win2K, WinXP, MFC, Dev
Hans Dietrich 4.81
CodeFX - Inter-Process Communication (IPC) Introduction and Sample Code
Updated: 13 Mar 2009  
This article will cover general IPC technologies in CodeFX. The IPC technologies include Named Pipes, File Mapping, MailSlot, etc.
C++, C#, Windows, .NET, Win32, Dev
All-In-One Code Framework 4.76
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, .NET 2.0VS2005, Dev
Raghavan Ram Raja 4.70
Bridge Between Java And Windows
Updated: 13 Jun 2002  
Make your windows programs communicate with java programs easily
Java, VC6, Java, Win2K, MFC, Dev
Xiangyang Liu 刘向阳 4.66
CSharedMailslot: a shared server mailslot
Updated: 1 Dec 2004  
An interprocess communication approach to share a server mailslot.
VC7.1Win2K, WinXP, Win2003, Visual Studio, MFC, Dev
matro 4.66
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, .NET 1.1VS.NET2003, Dev
Ivan L 4.63
Windows IPC
Updated: 22 Jun 2006  
A brief introduction to Windows IPC mechanisms.
C++, Windows, Visual Studio, Dev
Swarajya Pendharkar 4.63
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
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, .NET 2.0, WinForms, VS2005, Dev
Shy Agam 4.59
A Simple Wrapper for Sharing Data Structures Between Processes
Updated: 17 Sep 2001  
A simple template class to create memory-mapped shared data structures.
VC6Win2K, Dev
Ryan Schneider 4.58
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 (.NET 1.0, .NET 1.1, .NET 2.0, Mono, DotGNU, .NET 3.0, .NET 3.5), Win32, MFC, WinForms, Architect, Dev, Design
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.52
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 09 4.48
Using Named Pipes for Tracing
Updated: 14 Jul 2004  
Using Named Pipes for Traces out of Multiple Processes
VC6, Windows, Dev
Holger Kloos 4.48
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, .NET 1.1VS.NET2003, Dev
Ivan L 4.48
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.46
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
VC6Win2K, MFC, Dev
Martin Ziacek 4.30
Inter-Process Communication using WM_COPYDATA
Updated: 3 Dec 1999  
Demonstrates the use of WM_COPYDATA
VC6, Dev
Eddy Celis 4.24
A Case Study about InterProcess Synchronization
Updated: 5 Jan 2001  
An application demonstrating process synchronisation and interprocess communication
VC6Win2K, Dev
Gert Boddaert 4.15
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).
VC6, VB 6, Dev
Axonn Echysttas 4.13
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.12
Synchronous Interprocess communication, A wrapper: Part I
Updated: 25 Apr 2003  
A class to demonstrate another approach to IPC
VC6, VC7Win2K, WinXP, Dev
lallous 4.08
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.07
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.07
IPCTrace
Updated: 6 Nov 2001  
IPCTrace - An inter-process tracing utility
VC6Win2K, Dev
Frank Melber 4.00
IPCWorkshop
Updated: 29 Jan 2003  
This article describes a data transfer over various IPC mechansisms
VC6Win2K, Dev
Venkat Raman 3.96
cool COAL ! - Unedited
Updated: 19 Apr 2009  
An C++ namespace, completely MFC dependent, to deal with cool COAL objects, which can be written in any language, even in C# :rolleyes:
C++ (VC7.1), C# (C# 3.0), Windows (WinXP), .NET (.NET 3.5), MFC, Dev
aljodav 3.67
Unleashing anonymous pipes – Part 1
Updated: 19 Aug 2003  
Using anonymous pipes for interprocess communication
VC6, VC7, VC7.1Win2K, WinXP, Win2003, Dev
Dinesh Ahuja 3.58
Inter-process communication via Remoting
Updated: 14 Oct 2007  
Inter-process communication by using Remoting.
C# 2.0, Windows, .NET (.NET 2.0)VS2005, Dev
drlinwang 2.76
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.
VC6Win2K, MFC, Dev
Ion Tichy 1.63
Pipe template classes - Unedited
Updated: 2 Sep 2009  
The template classes library to support pipe develop with minimum expenses for programmer.
C++, Windows (Win2K, WinXP, Win2003, Vista), Win32, STL
klizardin  

Threads and Processes - Multi-threading

top
Title / Updated Author Score  
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 (VB 7.x, VB 8.0, VB 9.0), .NET (.NET 2.0, Mono, DotGNU, .NET 3.0, .NET 3.5), Win32, Win64, Dev, Design
jdx256 5.00
PetriDish: Multi-threading for performance in C#
Updated: 28 May 2008  
An investigation into advanced concurrent programming.
C# (C# 3.0), .NET (.NET 3.5), Visual Studio (VS2008), Architect, Dev, Design
Nick Butler 4.90
The Practical Guide to Multithreading - Part 1
Updated: 18 Nov 2009  
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.83
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 (.NET 1.0, .NET 1.1, .NET 2.0, .NET 3.0, .NET 3.5), WinForms, WebForms, Dev
Chivate Atul 4.82
Generic Wrapper for Easy Multithreaded Programming
Updated: 26 Apr 2009  
Event-based, generic wrapper and manager to implement multithreading in your applications
VB 8.0, VB 9.0, Windows, .NET 2.0, .NET 3.0, .NET 3.5, Dev
siglr2 4.82
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 (.NET 3.5), Visual Studio (VS2008), Dev
owen654321 4.75
Threadsafe Events - Unedited
Updated: 20 Jun 2009  
When writing components in a multithreaded world, one question that commonly crops up is, "how do I make my events threadsafe?" The asker is usually concerned with threadsafe subscription and unsubscription, but threadsafe raising must also be taken into consideration.
C#, .NET CF, .NET, Dev
Stephen Cleary 4.75
Beginners Guide To Threading In .NET Part 3 of n - Unedited
Updated: 10 Aug 2008  
Beginners Guide To Threading In .NET
C# (C# 3.0), .NET (.NET 2.0, .NET 3.0, .NET 3.5), WPF, Architect, Dev, Design, SysAdmin
Sacha Barber 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#, .NETVS2005, Dev
Kalkunte 4.68
Beginners Guide To Threading In .NET Part 2 of n - Unedited
Updated: 10 Aug 2008  
Beginners Guide To Threading In .NET
C# (C# 2.0, C# 3.0), .NET (.NET 2.0, .NET 3.0, .NET 3.5), WPF, Architect, Dev, Design, SysAdmin
Sacha Barber 4.67
Beginners Guide To Threading In .NET Part 1 of n - Unedited
Updated: 9 Aug 2008  
Beginners Guide To Threading In .NET
C# (C# 3.0), .NET (.NET 2.0, .NET 3.0, .NET 3.5), WPF, Dev, Design
Sacha Barber 4.66
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, .NET 1.1VS.NET2003, Dev
Richard Schneider 4.65
Beginners Guide To Threading In .NET Part 5 of n - Unedited
Updated: 10 Aug 2008  
Beginners Guide To Threading In .NET
C# (C# 1.0, C# 2.0, C# 3.0), .NET (.NET 1.0, .NET 1.1, .NET 2.0, .NET 3.0, .NET 3.5), Win32, WPF, Architect, Dev, Design
Sacha Barber 4.65
Producer Consumer Using Double Queues
Updated: 11 Jul 2008  
Producer Consumer implementation using double queues
C# 2.0.NET 2.0, Dev
Raghavan Ram Raja 4.56
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 (.NET 2.0, .NET 3.0, .NET 3.5), Win32, Win64, Dev
Vitaliy Liptchinsky 4.51
.NET Asynchronous Design Pattern for Native C++ - Unedited
Updated: 24 Aug 2009  
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, Win 7), .NET (.NET 1.0, .NET 1.1, .NET 2.0, .NET 3.0, .NET 3.5), MFC, ATL, WTL, Dev
Daniel Ranger 4.50
Beginners Guide To Threading In .NET Part 4 of n - Unedited
Updated: 10 Aug 2008  
Beginners Guide To Threading In .NET
C# (C# 1.0, C# 2.0, C# 3.0).NET 2.0, WPF, Architect, Dev
Sacha Barber 4.45
Finite State Machine and Multithreading using .NET
Updated: 2 Mar 2006  
An article on classes for finite state machines, events and threads.
C#.NET 1.1, Win2K, WinXPVS.NET2003, Dev
Linus Flüeler 4.42
Parallel Recursive Methods using the Concurrency and Coordination Runtime
Updated: 11 Oct 2008  
A multi threaded directory size implementation using the CCR
C#, Dev
itaifrenkel 4.40
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.1Win2K, WinXP, Win2003VS.NET2003, Dev
John Kopplin 4.38
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 (.NET 3.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, .NET 1.1, .NET 2.0, .NET 3.0, .NET 3.5, Dev
Sanjay1982 4.33
Multithreaded Programming Using C#
Updated: 10 Oct 2001  
A simple tutorial on Multithreaded Programming using C#
C#, Windows, .NET 1.0, Visual Studio, Dev
Zeeshan Amjad 4.24
Lock-Free Single-Producer - Single Consumer Circular Queue
Updated: 14 Nov 2009  
How to make a C++ thread safe, single producer, single consumer lock-free circular queue
C++, Windows, Linux, Dev
KjellKod.cc 4.21
Parallel Processing
Updated: 21 Sep 2009  
Utilizing your CPU cores with Parallel Extensions (TPL).
C# 1.0, C# 2.0, C# 3.0.NET 3.5, .NET 4.0, Architect, Dev
James Cann 4.20
Making Controls Thread-safely
Updated: 6 May 2009  
Making controls thread-safely
C# (C# 2.0), Windows, .NET (.NET 2.0), Dev
Enzocom 4.10
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.
VB (VB 7.x, VB 8.0, VB 9.0, VB 6), .NET, Visual Studio (VS2005, VS2008), WinForms
Thulasee Shan 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 (.NET 2.0, Mono, .NET 3.0, .NET 3.5), Visual Studio (VS.NET2003, VS2005, VS2008), Dev
adamvanner 3.91
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
Muaddubby 3.88
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 3.67
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, .NET 2.0, Visual Studio, Dev
Pooya Musavi 3.64
Pipes and Filters concurrent design pattern using the Concurrency and Coordination Runtime - Unedited
Updated: 8 Oct 2008  
A modular approach for concurrent message passing
C#, .NET (.NET 3.5), Architect, Dev
itaifrenkel 3.50
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, .NET 2.0VS2005, Dev
Sajjitha Gunawardana 3.10
Macros to simulate multi-tasking/blocking code at interrupt level. - Unedited
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 interrupt context.
C, Windows (Embedded), Linux, Architect, Dev
Eddy Quicksall 3.00
.NET multi-threading and communication between threads
Updated: 29 Dec 2002  
An article that explains the messaging between main and worker threads
C#, Windows, .NET 1.0, Dev
Gopinath Krishnamurthy 2.94
Multithreading Concepts in C#
Updated: 31 Oct 2004  
An introduction to multithreading concepts in C#.
C#, Windows, .NET, Visual Studio, Dev
Shalini78 2.79
Better threading
Updated: 30 Jan 2007  
A more object-oriented way for multi-threading (not bound to MFC).
C++, Windows, Visual Studio, Dev
Denis Gourjii 2.68
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.NET 1.0, .NET 1.1, Win2K, Win2003VS.NET2003, Dev
vinodramakrishnan 2.67
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 2.59
Threads and Thread Synchronization in C#
Updated: 16 May 2008  
An article that discusses the advantages of C# multithreaded programming
C#, Dev
AshokPatra 2.21
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, .NET 2.0, Win32, Dev
PrasadPerera 1.33

Threads, Processes & IPC - Processes

top
Title / Updated Author Score  
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.
VC6Win2K, Dev
Ramanan.T 4.82
ProSysLib: Dissecting the Process
Updated: 6 Sep 2008  
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 (.NET 1.0, .NET 1.1, .NET 2.0, .NET 3.0, .NET 3.5), Office, Win32, Win64, ATL, STL, COM, Dev, QA, SysAdmin
Vitaly Tomilov 4.80
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, VC7Win2K, Dev
Ivo Ivanov 4.80
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.
VC6Win2K, WinXP, Win2003, Visual Studio, MFC, Dev
Robert Kuster 4.73
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, VC7Win2K, WinXP, Visual Studio, MFC, Dev
Irfan Dawood 4.61
Limiting an application to a single Instance - the MFC way
Updated: 30 Aug 2002  
Another approach for limiting application instance
VC6, VC7Win2K, WinXP, MFC, Dev
Armen Hakobyan 4.58
Navigating the PEB
Updated: 19 May 2005  
Obtaining another process' command-line arguments.
VC6Win2K, WinXP, MFC, Dev
DavidCrow 4.57
Enumerating processes on NT/Win9x
Updated: 9 Sep 2002  
A simple class encapsulating tlhelp32 and PSAPI
VC6Win2K, Dev
moliate 4.54
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, .NET 1.0, .NET 1.1, Dev
Mike Mayer 4.54
Running applications like services
Updated: 11 Feb 2007  
How to run an application without a GUI or logging in.
XML, C# 2.0.NET 1.1, .NET 2.0, Win2K, WinXP, Win2003, Vista, .NET 3.0VS.NET2003, VS2005, Architect, Dev
Wojtek Jeziorczak 4.54
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.
VC6Win2K, WinXP, Win2003, Dev
Dalibor Drzik 4.46
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, VC7Win2K, WinXP, Win2003, Dev
lallous 4.43
Get Process Info with NtQueryInformationProcess
Updated: 21 Jul 2007  
Get process parent ID, command-line, etc.
VC7.1Win2K, WinXP, Win2003, Vista, MFC, VS.NET2003, Dev
OrionScorpion 4.43
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, VC7Win2K, WinXP, Visual Studio, Dev
Eugene Polonsky 4.39
Redirect
Updated: 7 Jun 2000  
An ATL-control for redirecting stdout/stdin
VC6, VB 6Win2K, 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
monitoring MySQL server process - Unedited
Updated: 21 Jan 2009  
example of monitoring windows process
C# (C# 1.0, C# 2.0, C# 3.0)
asugix 4.33
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.31
Enum Processes with kernel and user times
Updated: 7 Feb 2005  
An article on enumerating processes.
VC6WinXP, Dev
Roger65 4.23
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.1Win2K, WinXP, Win2003, MFC, Dev
BillyNorwak 4.22
GetProcessTimes
Updated: 4 May 2004  
How to retrieve the running-time of a process
VC6Win2K, MFC, Dev
DavidCrow 4.17
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.08
Process, Module and Thread enumeration classes
Updated: 15 May 2002  
3 simple classes for easy retrival of running processes, modules and threads
VC6, VC7Win2K, WinXP, Visual Studio, MFC, STL, Dev
Andreas Saurwein Franci Gonçalves 4.07
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
Win32 APIs for Process Retrieval
Updated: 11 Feb 2004  
Discover what other tasks are running on the system.
VC6Win2K, MFC, Dev
Ahmed Yassin 3.67
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, .NET 2.0VS2005, Architect, Dev
Anindya Chatterjee 3.67
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
VC6Win2K, MFC, Dev
DavidCrow 3.55
Process enumeration class
Updated: 6 Jun 2007  
This class can be used for the enumeration of processes and modules.
VC6WinXP, 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.
VC6Win2K, Visual Studio, Dev
Phil McGahan 3.47
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
VC6Win2K, STL, Dev
Dudi Avramov 3.29
Process Enumeration in Windows 2000
Updated: 10 Jun 2002  
Explains how to use the ToolHelp API to enumerate processes under Windows 2000/XP
VC6, VC7Win2K, 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
VBVS2005, 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.
VC6Win2K, WinXP, Dev
dmihailescu 3.04
KitKat - The Lazy/Poor Man's Rootkit - Unedited
Updated: 4 Mar 2008  
A Very Simple pseudo-RootKit
C++ (VC6), Windows (Win2K)
st0le 3.00
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.NET 2.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.NET 2.0, Win2K, WinXP, Win2003, Vista, TabletPC, .NET 3.0VS2005, Dev
schizoidboy 2.59
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
Process and Module Viewer - Amit Ranjan - Unedited
Updated: 23 Jun 2008  
Display's process and modules attached with that process with details.
C# (C# 1.0, C# 2.0, C# 3.0), Windows (Win2K, WinXP, Win2003, Vista), .NET (.NET 2.0), Win32, WinForms, Dev
Amit Ranjan 1.50

Threads, Processes & IPC - Third Party libraries

top
Title / Updated Author Score  
Distributed computing in small and middle offices - Unedited
Updated: 23 Aug 2008  
Introduction to open-source hxGrid library for distributed computing. Main benefits of the library: cluster is using 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.76
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: 13 Feb 2006  
A smart Thread Pool implementation in .NET.
C#.NET 1.1, Win2K, WinXP, Win2003VS.NET2003, Dev
Ami Bar 4.82
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.65
Extended Thread Pool
Updated: 2 Oct 2009  
Your own extensible and configurable Thread Pool.
C# (C# 2.0, C# 3.0), Windows, .NET (.NET 2.0, .NET 3.0, .NET 3.5), Architect, Dev
GSerjo 4.61
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.47
.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, .NET 1.0, Visual Studio, Dev
Marc Clifton 4.39
Creating your own thread pool in .NET
Updated: 16 Dec 2003  
Introducing an easier to use .NET thread pool class.
C++/CLI, C#, VB.NET 1.0, .NET 1.1, Win2K, WinXP, Win2003, ASP.NET, Dev
Xiangyang Liu 刘向阳 4.36
Thread variables and the .NET thread pool
Updated: 10 Jul 2003  
Optimize your code in multithreaded .NET applications
C++/CLI, C#, VB.NET 1.0, .NET 1.1, Win2K, WinXP, Win2003, ASP.NET, Visual Studio, Dev
Xiangyang Liu 刘向阳 4.34
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, .NET 1.0, Dev
Yash malge 4.27
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#.NET 1.0, .NET 1.1, Win2K, WinXP, Win2003VS.NET2003, Dev
gtamir 4.22
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
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.NET 2.0, Win32, Win64, Dev
kinke 4.00
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 3.94
Simple mutlithreaded application
Updated: 6 Apr 2009  
A simple mutlithreaded application using ThreadPool.
C#.NET 1.1, .NET 2.0, WinXP, Win2003, .NET 3.0, Dev
Wael Al Wirr 3.88
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, .NET 1.1VS.NET2003, Dev
jburrow 3.58
Cancellable Thread Pool
Updated: 16 Dec 2004  
A replacement ThreadPool with Abort and Resume functionality.
C#, Windows, .NET 1.0, .NET 1.1VS.NET2003, Architect, Dev
Al Gardner 3.52
ThreadSafeObservableCollection - Unedited
Updated: 17 Jun 2009  
As part of an ongoing article I am just about to finish, I needed a thread safe ObservableCollection<T>. Now the native .NET framework doesn’t have one of those, but luckily it supplies you with the right job to create one using some of the Threading APIs.Here is what I came up with.
C++, Windows, MFC
Sacha Barber 3.50
Synchronizing Multiple Threads in the ThreadPool
Updated: 17 Jan 2006  
An article on thread synchronization and usage of ThreadPool
C#, VB 6, Windows, .NET 2.0VS2005, 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, .NET 2.0, .NET 3.0VS2005, 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.NET 2.0, .NET 3.0, .NET 3.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, .NET 1.1VS.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.0WinXP, Win2003, Vista, Win32, 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
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
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
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.96
Understanding SynchronizationContext: Part III
Updated: 29 Dec 2008  
Using SynchronizationContext with WCF.
C#, .NET, Dev
mikeperetz 4.95
Understanding SynchronizationContext (Part I)
Updated: 3 Jan 2009  
How to use SynchronizationContext
C#, .NET, Dev
mikeperetz 4.88
Is the Ready Queue FIFO?
Updated: 26 Jul 2009  
The Truth and the Proof.
C#, .NET, Dev
Nick Butler 4.85
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
Nick Butler 4.74
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, VB 8.0, VB 9.0, C# 4.0, VB 10, .NET, WinXP, Win2003, Vista, Win2008, Win 7, Win2008 R2, Win32, Win64, VS2008, VS2010, Dev
DaveyM69 4.74
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.69
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
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.57
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.50
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, .NET 2.0VS2005, Dev
James Kolpack 4.49
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.46
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#.NET 1.0, Win2K, WinXP, Dev
Doug Doedens 4.38
Simplify Asynchronous Method Calls by Using a Base Class
Updated: 17 Oct 2009  
A template for calling methods asynchronously and returning the results on the caller's thread.
C# 3.0.NET 2.0, .NET 3.0, .NET 3.5, WPF, WinForms, Dev
aef123 4.38
Threading in .NET and WinForms
Updated: 7 May 2007  
Guide to handle threads in .NET and WinForms.
C# 1.0, Windows, .NET 1.1, WinForms, VS.NET2003, Dev
Jesu Benin 4.38
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.36
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.33
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.0WinXP, Vista, Win32, Win64, Dev
Valery Grebnev 4.33
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, .NET 1.1, WinForms, VS.NET2003, Dev
Alexey A. Popov 4.32
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.28
Creating a C++ Thread Class
Updated: 8 Nov 2007  
A look at platform independent threading in C++.
VC8.0, Linux, WinXPVS2005, Dev
Walter Capers 4.28
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, .NET 1.0, .NET 1.1, .NET 2.0VS2005, Dev
Vladimir S. 4.25
Converting icon to image with background worker - Unedited
Updated: 21 Jan 2009  
using background worker to execute time consuming task
C# (C# 1.0, C# 2.0, C# 3.0), .NET, WinForms
asugix 4.20
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
AWSCodeGuy 4.15
A C# class to invoke almost any method from a worker thread
Updated: 2 Nov 2003  
C# code that makes multithreading easier
C#.NET 1.0, .NET 1.1, Win2K, WinXP, Win2003, Dev
Xiangyang Liu 刘向阳 4.14
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, .NET 1.0, Dev
Gary J. Kuehn 4.14
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, .NET 1.0, Dev
Gary J. Kuehn 4.08
Threading Wrapper Classes in VB
Updated: 13 Apr 2007  
This contains a set of VB written classes which help with threading tasks
VB, Windows, .NET 2.0, Visual Studio, Dev
MartyK2007 4.08
Almost like Java threads
Updated: 23 Sep 2007  
A Java like threading framework.
VC6, Java, Win2K, WinXP, Win2003, STL, Dev
rtybase 4.03
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, .NET 1.0, .NET 1.1, Visual Studio, Dev
Scott Bonds 3.94
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, .NET 1.0, .NET 1.1, Dev
Sriram Chitturi 3.78
Lock Manager for .NET
Updated: 11 Aug 2003  
Deadlock resolver for muti-threading applications.
C#, Windows, .NET 1.0, .NET 1.1, Dev
SZotin 3.76
Asynchronous Invocation Using BackgroundWorker
Updated: 20 Jul 2006  
A simple article on implementing asynchronous code, in C#.
C#.NET 2.0, Win2K, Win2003VS2005, Dev
Asghar Panahy 3.72
Monitoring and Controlling a Recursing Function in a Worker Thread
Updated: 23 May 2009  
In this case, how to list files in sub folders nicely.
VC6, VC7, VC7.1, VC8.0, MFC, Dev
Ben Aldhouse 3.70
The Spin-Trap Technique
Updated: 15 Nov 2007  
A way to combine concurrency with mutual exclusion in low-lock programming
C# 2.0, Windows, .NET 2.0VS2005, Dev
jmhamm 3.67
Simple Threading
Updated: 7 Aug 2007  
Threading for beginners
C#, Windows, .NET, Visual Studio, Dev
loneferret 3.65
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.NET 1.0, .NET 1.1, .NET 2.0, .NET 3.0, .NET 3.5, Dev
Aneesur Rehman Khan 3.36
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
Inter-Thread Communication Library
Updated: 17 Nov 2005  
This article presents an easy and simple way to transfer data between threads.
C#, Windows, .NET 1.1VS.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.NET 1.1, Win2K, WinXPVS.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
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
Threading out tasks in a C#.NET GUI
Updated: 20 Jun 2003  
This sample demonstrates threading, based on a GUI application.
C#.NET 1.0, Win2K, WinXP, Dev
Christopher Chartier 2.86
VC++ Thread Synchronizatrion Using Events
Updated: 17 Dec 2006  
This article demonstrates how to synchronize two threads using events.
VC6, VC7Win2K, WinXPVS.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#, .NET CF, Mobile, .NET 1.1, Win2K, WinXP, Win2003VS.NET2003, Dev
volkan.ozcelik 2.69
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 (.NET 2.0, .NET 3.0, .NET 3.5), Architect, Dev
Kurt Mackey 2.60
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.50
Simple Thread Example
Updated: 5 Jul 2009  
This program shows how to use threads in your application using MFC.
VC6WinXP, MFC, Dev
Chetan Raiyani 1.58
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

Threads, Processes & IPC - Threads

top
Title / Updated Author Score  
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.0WinXP, VistaVS.NET2003, VS2005, Dev
einaros 4.84
User-Level Spin Locks
Updated: 23 Oct 2000  
An introduction to using spin locks for synchronization.
VC6Win2K, Visual Studio, Dev
Gert Boddaert 4.81
Using Semaphores: Multithreaded Producer/Consumer
Updated: 14 Jun 2001  
An introduction to using Semaphores.
VC6Win2K, MFC, Dev
Joseph M. Newcomer 4.80
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, .NET 2.0, Dev
Nicholas Brookins 4.80
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.71
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.69
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.0Win2K, WinXP, Win2003, VistaVS.NET2003, VS2005, Dev
Jeffrey Walton 4.68
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, VC7Win2K, WinXP, Dev
Peter Hancock 4.67
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, .NET 1.1VS.NET2003, Dev
Christoph Ruegg 4.66
Thread Local Storage - The C++ Way
Updated: 27 Aug 2004  
How to put class objects in TLS with automatic destructor invocation.
VC6, VC7, VC7.1Win2K, WinXPVS.NET2003, Dev
Roland Schwarz 4.66
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 (.NET 2.0), Dev
Nicholas Brookins 4.66
Multithreading VB Style: Locking A Shared Resource
Updated: 22 Oct 2003  
A COM component to protect your shared resources in multithreaded applications.
VC6Win2K, WinXP, Win2003, MFC, Dev
Xiangyang Liu 刘向阳 4.63
Member Threads
Updated: 1 May 2002  
A template function that makes creating threads that use class member functions easier.
VC6, VC7Win2K, WinXP, Dev
Luca Piccarreta 4.62
Yet Another Thread Monitor
Updated: 8 Jan 2004  
This article discusses the use of Asynchronous Procedure Calls for Kernel/User mode communication.
VC7, VC7.1Win2K, WinXP, MFC, VS.NET2003, Dev
Tim Deveaux 4.62
Introduction to Multi-threaded Code
Updated: 26 Mar 2000  
Synchronizing worker threads using 3 different methods
VC6, Visual Studio, Dev
William T. Block 4.59
Work Queue
Updated: 1 Feb 2003  
Simple and elegant thread pool.
VC6, VC7Win2K, WinXP, STL, Dev
Uri Twig 4.56
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 4.55
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.0Win2K, WinXP, Win2003, VistaVS.NET2003, VS2005, Dev
Drew_Benton 4.54
A programming model to use a thread pool
Updated: 30 Sep 2000  
A class to manage the thread pool
VC6Win2K, MFC, Dev
Sherwood Hu 4.52
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.51
Win32 Thread Pool
Updated: 17 Oct 2005  
An implementation of a Thread Pool in C++ for Windows.
VC6, VC7.1, Dev
Siddharth R Barman 4.50
Switching threads
Updated: 16 Sep 2007  
How to switch the thread that a routine is running on.
VC6, VC7, VC7.1, VC8.0Win2K, WinXP, Win2003, VistaVS.NET2003, VS2005, Dev
gleat 4.48
Lock & Wait Synchronization in C++
Updated: 28 Jul 2008  
Applying lock and wait synchronization in C++.
VC7, VC7.1, VC8.0Win2K, WinXPVS.NET2003, VS2005, Dev
voidbent 4.47
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 (.NET 2.0), Visual Studio, Architect, Dev, QA, Design
Steven A. Lowe 4.46
RmThread - Code execution in Another Process Context.
Updated: 17 Aug 2006  
An injection code tool to make simple run threads remotely.
VC6, VC7.1Win2K, WinXPVS.NET2003, Dev
Wanderley Caloni 4.46
Lengthy Operations Without Multiple Threads
Updated: 1 Mar 2004  
A Templated Class, with callback functions, to Make It Easy
VC6Win2K, WinXP, MFC, Dev
Mike O'Neill 4.40
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
VC6Win2K, WinXP, Dev
Hans Dietrich 4.30
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.
VC6Win2K, WinXP, MFC, Dev
Jek Platform 4.30
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#.NET 1.0, Win2K, WinXP, Dev
James T. Johnson 4.30
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#.NET 1.0, Win2K, WinXP, Dev
Robin Galloway-Lunn 4.23
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.1Win2K, WinXP, Win2003, Visual Studio, Dev
Phillip Sitbon 4.17
An easy to use worker thread
Updated: 30 Oct 2001  
Use worker threads in your application without the complicated details
VC6, VC7Win2K, Dev
Frank Melber 4.16
Thread Sychronization using monitors
Updated: 31 Oct 2001  
Introduction to using the Monitor class for accessing shared resources from multiple threads
C++/CLI, Windows, .NET 1.0, Visual Studio, Dev
Nishant Sivakumar 4.15
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.NET 1.1, .NET 2.0, Win2K, WinXP, Win2003VS.NET2003, VS2005, Dev
Milton K Baby 4.14
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
VC6Win2K, 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
Using events for thread synchronization
Updated: 27 Mar 2002  
An introduction to using signaled events for thread synchronization in .NET
C#, Windows, .NET 1.0, Dev
Nishant Sivakumar 4.08
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.08
How to pass data to worker threads
Updated: 30 Oct 2001  
Shows how you can pass data to your worker threads
C++/CLI, Windows, .NET 1.0, Visual Studio, Dev
Nishant Sivakumar 4.08
Win32 Worker Thread Wrapper
Updated: 18 Apr 2003  
Win32 Worker Thread Wrapper
VC6Win2K, Dev
Amer Gerzic 4.05
Threads And Timers
Updated: 26 Jan 2004  
Adding a WM_TIMER message to CWinThreads.
VC6, VC7.1Win2K, WinXP, Win2003, MFC, VS.NET2003, Dev
David A. Jones 4.04
C# Worker Thread Starter Kit
Updated: 4 Jul 2004  
This article describes a simple pattern for worker threads and Form based programs.
C#, Windows, .NET 1.1VS.NET2003, Dev
James Rudnicki 4.02
WorkerThread Library
Updated: 7 Nov 2005  
An article on a generic WorkerThread library.
VC6, Visual Studio, MFC, Dev
Ethihas 4.00
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.99
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.0Win2K, WinXP, Win2003, Vista, Visual Studio, Dev
Patrick Hoffmann 3.98
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, eVC 3.0, eVC 4.0, Windows, Win Mobile, Mobile, Visual Studio, Dev
Ciprian Miclaus 3.92
QueueUserAPCEx: Extending Win32 User-Mode Asynchronous Procedure Calls (APCs)
Updated: 2 Oct 2003  
An implementation of QueueUserAPCEx: a useful extension of QueueUserAPC
VC6Win2K, WinXP, Visual Studio, Dev
xdoukas 3.89
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 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
A Method of Worker Thread Pooling
Updated: 5 Feb 2003  
A Method of Worker Thread Pooling
VC6, VC7Win2K, WinXP, MFC, Dev
Pradeep Kumar Sahu 3.85
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.
VC6Win2K, Visual Studio, MFC, Dev
Derek Lakin 3.84
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, VC7Win2K, 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.1WinXPVS.NET2003, Dev
itaifrenkel 3.73
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.73
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.NET 1.1, Win2K, WinXP, Win2003VS.NET2003, Dev
big71 3.64
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.60
Waiting for a thread to terminate
Updated: 5 Sep 2002  
How to pause the main thread until a secondary thread is finished
VC6, VC7Win2K, WinXP, MFC, Dev
Ybbozman 3.58
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
Synchronized multi-threading in C++ (No MFC!)
Updated: 19 Apr 2007  
A C++ wrapper for Win32 multi-threading
VC6, Visual Studio, Dev
Vijay Mathew Pandyalakal 3.54
Thread pool class Bug Fixed
Updated: 24 Aug 2002  
Fixed a bug about Thread pool class submited by Sherwood Hu
VC6, VC7Win2K, WinXP, Visual Studio, MFC, Dev
Simon.W 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.
VC6Win2K, WinXP, Visual Studio, Dev
xdoukas 3.46
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
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.21
Template Thread Library
Updated: 26 Feb 2003  
Allows any class method to be executed in a separate thread without global functions.
VC7Win2K, WinXP, Visual Studio, Dev
Emad Barsoum 3.20
MFC UI Threads
Updated: 17 Aug 2004  
A simple UI thread example.
VC6, VC7.1, MFC, VS.NET2003, Dev
telemacher 3.19
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, VC7Win2K, Dev
Arun N Kumar 3.12
Using templated mutex variables
Updated: 21 May 2003  
Templated class to transparently use variables associated with mutexes
VC6, VC7Win2K, WinXP, MFC, Dev
Rui Dias Lopes 3.11
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
VC6Win2K, 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
VC6Win2K, WinXP, MFC, Dev
Andreas Saurwein Franci Gonçalves 3.00
Using Synchronized Threads
Updated: 30 Nov 2002  
Example on using threads which are synchronized.
C#.NET 1.0, Win2K, WinXP, Dev
Ahmad Al-Kayali 3.00
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 2.92
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.
VC6Win2K, WinXP, Dev
sinan kul 2.90
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 !
VC7Win2K, WinXP, Visual Studio, Dev
TomKat 2.85
Using AfxBeginThread with class member controlling function
Updated: 19 Jun 2002  
Create worker threads with class member controlling function
VC6, VC7Win2K, WinXP, MFC, Dev
Enis 2.85
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, VC7Win2K, 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
VC6Win2K, 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, VC6Win2K, WinXP, Win2003, Dev
f2 2.65
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.56
A C++ Thread Class
Updated: 28 Jan 2004  
An article on wrapping the Win32 threading APIs.
VC6, VC7.1VS.NET2003, Dev
Wytek Szymanski 2.56
Session locks in multi-threaded programming
Updated: 29 Jan 2004  
An article about synchronizing threads at a session level
C#, VC6, Windows, .NET 1.1VS.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
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.29
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.27
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.00
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, Win Mobile, .NET, Mobile, Win2K, WinXP, Win2003, Vista, TabletPC, Dev
PEK 1.60
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.29

Last Updated 23 Nov 2009
Advertise | Privacy
Copyright © CodeProject, 1999-2009
All Rights Reserved. Terms of Use