5,449,204 members and growing! (20,832 online)
Email Password   helpLost your password?
Announcements




BullFrog Power
Search    
Advanced Search
Sitemap

Set your article filter

 Current Filter:

Threads, Processes and IPC


General Programming » Threads, Processes & IPC

Contents Quick search by title:

Threads and Processes - General

top
Title / Updated Author Score  
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, NT4, Win2K, WinXP, Win2003, VS.NET2002, VS.NET2003, VS2005, VS6, Dev, Intermediate
Jochen Kalmbach [MVP VC++] 4.86
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#, Dev, WPF, Intermediate
Michael Birken 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, NT4, Win2K, WinXP, Win2003, VS6, Dev, Intermediate
_Olivier_ 4.72
RMI for C++
Updated: 30 Jan 2006  
User-friendly remote method invocation in C++.
VC7.1, WinXP, VS.NET2003, Dev, Intermediate
Jarl Lindrud 4.66
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, NT4, Win2K, WinXP, Win2003, VS.NET2003, Dev, Intermediate
PlugwareSolutionsLtd 4.63
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, VS.NET2003, MFC, Dev, Intermediate
nickadams 4.61
Multithreaded Job Queue
Updated: 21 May 2003  
An article to implement a Multithreaded Asynchronous Job Queue which also pools threads.
VC6, VC7, NT4, Win2K, WinXP, VS6, MFC, Dev, Intermediate
Pradeep Kumar Sahu 4.53
Creating New Threads From VB Applications
Updated: 22 Apr 2004  
A component to execute a COM method in a separate thread.
VC6, Win2K, WinXP, Win2003, VS6, VB 6, Dev, Intermediate
Xiangyang Liu 刘向阳 4.52
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, Intermediate
liyang yu 4.52
Fast critical sections with timeout
Updated: 27 May 2007  
A faster and lighter ciritcal section implementation.
C++, Windows, Visual Studio, Dev, Advanced
valdok 4.48
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.NET2002, VS.NET2003, VS2005, Dev, Intermediate
rocky_pulley 4.47
Universal Console Redirector
Updated: 24 Nov 2003  
Launch a console process from your GUI app and receive its output, even from Win9x
VC6, VC7, NT4, Win2K, WinXP, VS6, MFC, WTL, Dev, Intermediate
umeca74 4.45
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, Advanced
Quynh Nguyen 4.44
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, Intermediate
Alexander D. Alexeev 4.43
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, NT4, Win2K, VS6, Dev, Intermediate
Maxime Labelle 4.38
EzProcess
Updated: 20 Oct 2007  
A processes and threads manager application.
NT4, Win2K, WinXP, Win2003, C++, Visual Studio, Dev, ASM, Intermediate
akyprian 4.35
A ThreadPool implementation
Updated: 22 May 2005  
This article describes a ThreadPool implementation.
VC6, VC7.1, VS.NET2003, VS6, Windows, Dev, Intermediate
Ratner Yuri 4.31
Tricky Programming on Multi-Core Processors
Updated: 29 Feb 2008  
An article on experiments with multithreading on a multi-core processor
.NET 3.5, C#, .NET, Dev, Advanced
Zaur Nasibov 4.29
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, NT4, Win2K, WinXP, Win2003, VS6, MFC, Dev, Intermediate
Santosh M. P. 4.26
There can be only one...
Updated: 1 Apr 2002  
Limiting an application to a single instance.
VC6, VC7, Win2K, WinXP, C++/CLI, .NET, Visual Studio, MFC, WTL, Dev, Intermediate
Niek Albers 4.24
CreateMutexwithatwist
Updated: 1 Dec 2004  
CreateMutex with a twist…. some non default arguments.
VC6, Win2K, WinXP, Win2003, .NET, Visual Studio, MFC, Dev, Intermediate
Alex Evans 4.22
Asynchronously Execute PowerShell Scripts from C#
Updated: 29 Aug 2008  
How to host and asynchronously run PowerShell scripts from C#
.NET 2.0, WinXP, Vista, VS2005, C# 2.0, .NET 3.0, VS2008, Dev, Intermediate
Jean-Paul Mikkers 4.17
CRWCriticalSection : Another solution to the readers/writers problem with time-out
Updated: 27 Oct 2003  
A class for synchronizing reader and writer threads
VC6, VS6, Windows, Dev, Intermediate
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, VS.NET2002, VS.NET2003, VS2005, VS6, Windows, Dev, Intermediate
soptest 4.14
Enforcing Single Instance of a Hidden-Window Application
Updated: 17 Nov 2006  
Yet another article on single instance, but with a twist.
.NET 1.1, VS.NET2003, C#, Windows, Dev, Intermediate
drdre2005 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.
.NET 2.0, VS2005, C++, C#, Windows, Dev, Intermediate
Flavio.Antonioli 4.09
Performing a hex dump of another process's memory
Updated: 6 Sep 2003  
An article on examining process memory
VC6, WinXP, VS6, Dev, Intermediate
weariless 4.09
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, Advanced
Cory Nelson 4.08
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, Intermediate
Gary J. Kuehn 4.02
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, VS.NET2002, Dev, Advanced
Daniel Turini 4.00
Interprocess communication tutorial
Updated: 7 Oct 2001  
Using memory mapped files, mutexes and HWND_BROADCAST messages for interprocess communication
VC6, Win2K, VS6, Dev, Beginner
Alex Fr 3.96
Entering Ring 0 using minimalistic approach - Unedited
Updated: 21 Jun 2008  
Kernel adventures of brave developer and other scary tales
C++, Advanced
Ladislav Nevery 3.96
Idiot's Guide to Grid Computing - Part I
Updated: 4 Jun 2007  
How to use grid computing with Alchemi.
.NET 2.0, VS2005, C# 2.0, Windows, Dev, Intermediate
Styx13 3.95
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, Intermediate
Matt Gullett 3.94
Threads with MFC
Updated: 1 Feb 2003  
Multithreading Programming with a MFC environment.
VC6, VC7, Win2K, WinXP, VS6, MFC, Dev, Intermediate
Aria Ansari 3.94
Fault Protection: Using Windows Exception Filters
Updated: 2 May 2004  
An article illustrating practical uses of SetUnhandledExceptionFilter
VC6, VC7.1, NT4, Win2K, WinXP, Win2003, VS.NET2003, Dev, Intermediate
PlugwareSolutionsLtd 3.94
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.
.NET 2.0, VS2005, C#, Windows, Dev, Intermediate
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, VC7, Win2K, WinXP, Visual Studio, MFC, Dev, Intermediate
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, Intermediate
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.
VC6, NT4, Win2K, VS6, MFC, Dev, Intermediate
Joseph M. Newcomer 3.81
Get CPU Usage with GetSystemTimes
Updated: 20 Dec 2004  
Get CPU usage with GetSystemTimes.
VC6, VC7, VC7.1, WinXP, Win2003, VS.NET2002, VS.NET2003, VS6, Dev, Intermediate
ejor 3.78
Raising events from other threads - Unedited
Updated: 21 Jun 2008  
a generic function helps to avoid "CrossThreadCall-Exception", when raising events from side-threads
.NET 2.0, VS2005, VB 8.0, Windows, Dev, Intermediate
Mr.PoorEnglish 3.72
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, VS6, Dev, Intermediate
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, VS6, Windows, Dev, Intermediate
R.selvam 3.50
Real Multi-threading in .NET 2.0 - Unedited
Updated: 5 Nov 2006  
A real multithreading example managing more than one thread.
WinXP, VS2005, C# 2.0, .NET, Architect, Dev, Intermediate
Jose Luis Latorre 3.49
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, Intermediate
Jek Platform 3.46
Monitoring and Controlling a Recursing Function in a Worker Thread - Unedited
Updated: 31 Aug 2008  
- in this case how to list files in sub folders nicely
VC6, VC7, VC7.1, VC8.0, C++, C++/CLI, C, MFC
Ben Aldhouse 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, Intermediate
rsankaran 3.40
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, Intermediate
Feng Xu 3.36
Application configuration file for applications
Updated: 17 Oct 2004  
Application configuration file for applications
C++, Windows, Visual Studio, Dev, Intermediate
Cheeran Santhosh 3.33
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.
VC6, VC7, NT4, Win2K, WinXP, eVC 3.0, C++/CLI, SQL, Win Mobile, .NET, Visual Studio, Mobile, DBA, Dev, Advanced
euacela 3.31
Ultra-simple C++ Read/Write Lock Class for Windows
Updated: 16 Nov 2006  
Ultra-simple read/write lock pattern implementation in C++.
VC6, VC7, VC7.1, VC8.0, Win2K, WinXP, VS2005, C++/CLI, .NET, Dev, Advanced
MSCH@MDD 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, VC7, Win2K, WinXP, VS6, MFC, Dev, Intermediate
Olan Patrick Barnes 3.21
Creating Threads using the CreateThread() API
Updated: 24 Mar 2006  
Creating threads using the CreateThread() API.
VC6, Win2K, VS6, Dev, Intermediate
Chetan Kudalkar 3.20
Shared and Exclusive lock control
Updated: 31 Aug 2004  
C++ class for shared and exclusive lock control.
VC6, NT4, VS6, Dev, Intermediate
Charles Bargar 3.14
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, Intermediate
William Sullivan 3.06
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, Intermediate
Kevin Jenkins 3.00
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.
NT4, Win2K, WinXP, Win2003, Vista, TabletPC, Embedded, C++, Visual Studio, Architect, Dev, Design, Intermediate
Mike65536 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.
.NET 2.0, VS2005, C# 2.0, Windows, Architect, Dev, Advanced
nitstheone 2.89
Re-Entrant Custom Critical Section - Unedited
Updated: 2 Oct 2006  
ReEntrant code
VC6, Windows, Visual Studio, Dev, Intermediate
Bharath NS 2.78
A simple thread pool class
Updated: 31 Dec 2003  
A simple thread pool class
VC6, VS6, Windows, Dev, Intermediate
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.1, Win2K, WinXP, Win2003, VS.NET2002, VS.NET2003, VS6, MFC, Dev, Intermediate
Eran Aharonovich 2.54
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, VS.NET2002, VS6, MFC, Architect, Dev, Intermediate
Sreekanth Muralidharan 2.50
Scope Lock - Unedited
Updated: 26 Feb 2007  
A class that will ease building thread-safe classes
VC8.0, Windows, Visual Studio, Dev, Beginner
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, Intermediate
sanjit_rath 2.40
Sharing data with Memory Mapped Files - Unedited
Updated: 16 Apr 2007  
How to use Memoy mapped files.
VC6, Win2K, WinXP, Win2003, VS6, MFC, Dev, Beginner
Kumar Sudhir 2.36
Of_Services_and_Processes-Part1 - Unedited
Updated: 23 Mar 2006  
How to programmatically control process and service in Windows NT
VC6, NT4, Win2K, WinXP, VS6, C, Dev, Advanced
r_thampi 2.33
Reset Windows Administrator Account Password in C# - Unedited
Updated: 30 Apr 2007  
How to Reset Windows Administrator Account Password in C# (Silently)
.NET 2.0, VS2005, C# 2.0, Windows, Dev, Advanced
Qasem Heyrani Nobari 2.31
Logging For Multi Threaded Applications
Updated: 26 Oct 2004  
Logging For Multi Threaded Applications
C++, Windows, Visual Studio, Dev, Intermediate
Cheeran Santhosh 2.29
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.
VC8.0, .NET 2.0, VS2005, C#, Windows, Dev, Intermediate
R%S 2.26
Solving Starvation in Dining Philosopher Problem: Using Inverse Semaphore
Updated: 2 Jun 2008  
Multithreaded GUI solution for starvation in Dining Philosopher problem
VC7.1, VC8.0, C++, Windows, Win32, MFC, GDI, Dev, Beginner, Intermediate, VC9.0
Bharath NS 2.16
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
VC6, VC7, VC7.1, VC8.0, NT4, WinXP, VS2005, VS6, C, Dev, ASM, Design, Intermediate
Lone Developer 2.00
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, VS6, Dev, Intermediate
xsamar 1.79
Advanced critical section
Updated: 8 Jul 2002  
Advanced critical section which features TryLock and timeouts
VC6, VC7, NT4, Win2K, WinXP, VS6, PocketPC 2002, Dev, Intermediate
0xdeadbeef 1.77
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, VS6, Dev, Intermediate
MaximE 1.61
process listing utility - Unedited
Updated: 18 Aug 2005  
small utility to show some info on a running process
NT4, Win2K, WinXP, Win2003, Vista, C++, C, Visual Studio, Dev, Intermediate
spinny 1.60
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.
VC6, VC7, VC7.1, VC8.0, NT4, Win2K, WinXP, Win2003, Vista, VS.NET2002, VS.NET2003, VS2005, VS6, C++/CLI, C, .NET, MFC, ATL, WTL, STL, Architect, Dev, QA, Intermediate
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.
.NET 1.0, VS2005, C# 1.0, Windows, Dev, Intermediate
Nelson Melo 1.38
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.0, WinXP, VS.NET2002, VS.NET2003, VS6, Dev, Intermediate
lallous 1.26
 

Threads, Processes & IPC - Inter-Process Communication

top
Title / Updated Author Score  
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, VS6, MFC, Dev, Intermediate
Hans Dietrich 4.81
RCF - Interprocess Communication for C++
Updated: 22 Jul 2008  
A server/client IPC Framework, using the C++ preprocessor as an IDL compiler
VC7.1, Win2K, WinXP, VS.NET2003, C++, C++/CLI, Windows, Visual Studio, Dev, Intermediate
Jarl Lindrud 4.78
Bridge Between Java And Windows
Updated: 13 Jun 2002  
Make your windows programs communicate with java programs easily
VC6, NT4, Win2K, VS6, Java, Java, MFC, Dev, Intermediate
Xiangyang Liu 刘向阳 4.66
CSharedMailslot: a shared server mailslot
Updated: 1 Dec 2004  
An interprocess communication approach to share a server mailslot.
VC7.1, NT4, Win2K, WinXP, Win2003, Visual Studio, MFC, Dev, Intermediate
matro 4.66
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.
.NET 2.0, VS2005, C# 2.0, Windows, Dev, Intermediate
Raghavan Ram Raja 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
.NET 1.1, VS.NET2003, C#, Windows, Dev, Intermediate
Ivan L 4.62
An Introduction to Processes: Asynchronous Process Notification
Updated: 16 May 2000  
Learn how to create new processes and how to efficiently manage them.
VC6, NT4, VS6, MFC, Dev, Intermediate
Joseph M. Newcomer 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.
VC6, NT4, Win2K, VS6, Dev, Intermediate
Ryan Schneider 4.55
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
.NET 1.1, VS.NET2003, C#, Windows, Dev, Intermediate
Ivan L 4.50
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, Intermediate
Richard Lin 4.48
Using Named Pipes for Tracing
Updated: 14 Jul 2004  
Using Named Pipes for Traces out of Multiple Processes
VC6, VS6, Windows, Dev, Intermediate
Holger Kloos 4.46
Interprocess Communication using Shared Memory
Updated: 13 Dec 1999  
A client-server model using shared memory for interprocess communication
VC6, NT4, VS6, Dev, Intermediate
Zoran M. Todorovic 4.45
Windows IPC
Updated: 22 Jun 2006  
A brief introduction to Windows IPC mechanisms.
C++, Windows, Visual Studio, Dev, Intermediate
Swarajya Pendharkar 4.38
Shared memory
Updated: 28 Sep 2002  
Share variables in the shared memory across processes
VC6, Win2K, VS6, MFC, Dev, Intermediate
Martin Ziacek 4.30