Click here to Skip to main content
15,881,089 members
Everything / General Programming / Threads

Threads

threads

Great Reads

by Maxim Kartavenkov
Articles describes how to create virtual video capture source directshow filter in pure C#
by Maxim Kartavenkov
Article describes how to make H.264 Video Encoder DirectShow Filter using NVIDIA encoder API in C#
by Sergey Alexandrovich Kryukov
Addresses questions on graphics, threading with UI, form development, printing and more
by honey the codewitch
Take control of which thread your code gets executed on, and how it does

Latest Articles

by Bruno van Dooren
What to do when you want to use the current thread handle
by Bruno van Dooren
How to implement named pipe server for communicating with client apps
by Bruno van Dooren
How to implement named pipe server for communicating with client apps
by Greg Utas
Keeping a program running when it would otherwise abort

All Articles

Sort by Updated

Threads 

10 Jan 2011 by Ajay Vijayvargiya
27 Aug 2012 by Ami Bar
A .NET Thread Pool fully implemented in C# with many features.
6 May 2014 by AndyUk06
A non-nonsense guide to setting up Boost threads in Visual Studio environments.
15 Aug 2014 by AnthonyPaulO
These classes should solve the multi-threaded issues plaguing the collection classes for good.
17 Jan 2014 by Assil
A running example of a duplex channel in WCF services.
8 Nov 2010 by b4rc0ll0
Create a smart Java component used as accordion menu. Explains how to create visual transition effects, and simple icons management. Also shows how to create a hierarchy of components with an easy cascade management.
27 Apr 2014 by Bartlomiej Filipek
This book is a must-have resource for any C++ developer!
9 Dec 2022 by Bruno van Dooren
How to implement named pipe server for communicating with client apps
22 Dec 2022 by Bruno van Dooren
How to implement named pipe server for communicating with client apps
5 Feb 2012 by C Yang
Program to inventory directories and tally files.
3 Jan 2015 by Dan Thyer
Remote control a squirt gun, open the garage, and water the garden all through .net
25 Feb 2014 by Dirk Bahle
Save/Load AvolonDock layouts without DockingManager references.
20 Jan 2012 by Dirk Bahle
I have posted a recent article on the ProgressViewModel to show a software design that can be used for background processing in C# 4.0. This article extends that design with the ability to ouput more than one progress.
15 Mar 2011 by Espen Harlinn
A simple Message Queuing client and server - illustrating how to create a solution capable of handling 500 000 messages in three minutes
18 Feb 2013 by essence
A walkthrough explanation of the issues and solutions to thread safe synchronization.
1 Mar 2013 by essence
Local scope delegates and Lambda expressions allow for some very smart and useful utility functions.
28 Mar 2013 by Florian Rappl
An introduction to async / await, popular mistakes and solutions for asynchronous programming, as well as usages and benefits from using asynchronous programming. We will also discuss interesting patterns based on concurrency.
27 Jun 2022 by Greg Utas
Keeping a program running when it would otherwise abort
14 Jun 2022 by Greg Utas
Cleaving the Gordian knot of thread safety
3 Aug 2014 by Hassan Hashemi
in this article we`ll take a look at processes and threads in windows
24 Jul 2011 by hofingerandi
A tiny application to launch a process suspended to allow, e.g., attaching a remote debugger.
22 Jul 2020 by honey the codewitch
Diving into some of the core plumbing behind the Windows operating system
14 Jul 2020 by honey the codewitch
This article explores a message passing mechanism for safe thread to thread communication
25 Feb 2021 by honey the codewitch
Take a page from .NET and enjoy an easy way to safely pass information between threads on an ESP32
27 Feb 2021 by honey the codewitch
Using a popular RTOS to enable easy multithreading on your IoT gadgets
28 Jul 2020 by honey the codewitch
Take control of which thread your code gets executed on, and how it does
25 Feb 2016 by J.Starkl
A windows-service which can handle different operations in separate threads and which can be controlled by a small GUI program
31 Dec 2014 by KjellKod.cc
How to make a wait-free, lock-free CircularFifo using C++11.
19 Mar 2014 by KjellKod.cc
Don't let slow disk access bog your logger down. By using the g2log asynchronous logger you will remove the wait bottlenecks while it has the reliability of a *traditional* logging library.
19 Jun 2013 by KK Kod
Document describes about the Delegate in C# and the usage of delegate in different scenarios
27 Feb 2012 by Leslie Zhai
Porting Axel a lighter download accelerator for Linux and other Unices to NATIVE WIN32
2 Aug 2018 by Marc Clifton
A discussion of various approaches to threading, covering locks, mutexes, semaphores, concurrent collections, work queues, threads, PLINQ, TPL, exception handling, and cancellation tokens
3 Feb 2011 by matt-dot-net
A complete proxy server except instead of SSL Tunneling, will perform a "man-in-the-middle" decryption on SSL traffic allowing you to inspect the encrypted traffic
11 Jul 2012 by Maxim Kartavenkov
Articles describes how to make pure C# rendering video on EVR with custom presenter over Direct3D in .NET
16 Jul 2012 by Maxim Kartavenkov
Article describes how to make H.264 Video Encoder DirectShow Filter using NVIDIA encoder API in C#
13 Oct 2012 by Maxim Kartavenkov
Articles describes how to create virtual video capture source directshow filter in pure C#
15 Apr 2019 by Michael Chourdakis
Use Windows new ThreadPool through a single C++ 11 class
17 Jun 2022 by Mircea Neacsu
C++ thread objects and their use
9 Apr 2016 by Mohamed Hamdy
A boring talk about What’s really going on at runtime...
28 Aug 2021 by Mohammad Elsheimy
SynchronizationContext class and how it affects code behavior in action, and a look at Task.ConfigureAwait()
7 Oct 2018 by Mojtaba Hosseini
A graphical binary tree. Features: add, remove, or search for a node. Recursive algorithm has been used
9 Aug 2010 by Nigel Ealand
A simple stereo sound volume meter with audio capture card selection.
1 Mar 2011 by Olivier Levrey
ProgressForm automatically starts a BackgroundWorker when loaded, and provides a progress bar and a cancel button.
1 May 2011 by Patrick Kalkman
This article describes how I developed Androng, a Pong clone for Android.
29 Jan 2014 by Peltchag
Using Generics and Extension Methods to provide easy-to-use helper for cross thread operations over WinForms controls.
10 Aug 2010 by Petr Bříza
A simple HTTP client implementation based on sockets with ability to limit upload/download speed
11 Mar 2013 by RajeshRaushan
A beginner's approach to create a custom thread pool to understand the concept of multithreading and synchronization.
7 Feb 2012 by Sacha Barber, Richard E King
Streaming live results to a web site using MSMQ/Duplex WCF/SignalR/jQuery
7 Oct 2013 by Rick Bassham
An introduction into creating a working FTP server in C# using the RFC specification.
10 May 2011 by Sacha Barber
A look into using the Task Parallel Library
7 Feb 2012 by Sacha Barber, Richard E King
Streaming live results to a web site using MSMQ/Duplex WCF/SignalR/jQuery
13 Jul 2011 by Sacha Barber
Using HTML5 WebWorkers and a custom jQuery plug-in to create a Flickr image wall.
6 Jul 2015 by Sacha Barber
A brief look at using the .NET Akka framework (Akka.NET)
3 Sep 2010 by Sacha Barber
A look into messaging solutions using NServiceBus.
17 May 2011 by Sacha Barber
A look into using the Task Parallel Library.
10 May 2011 by Sacha Barber
A look into using the Task Parallel Library.
10 May 2011 by Sacha Barber
A look into using the Task Parallel Library.
10 May 2011 by Sacha Barber
A look into using the Task Parallel Library.
9 May 2011 by sameer_87
A spin lock implementation which can be used for general purpose locking.
29 Jan 2014 by SarmadAsghar
This will provide opportunity to calculate aggregates, joins on the data retrieved from API’s which was never done.
29 Apr 2014 by Shai Vashdi
Simplifying the use of UI threads (using the Dispatcher) & new threads in WPF
17 Jan 2011 by Simeon Sheye
How fast can a loop reading from memory be made to run and how does loop constructs, data types, interfaces, unrolling and hoisting affect performance?
20 Sep 2011 by Soroush Falahati
Introducing a class for generating 3D images (Stereoscopic and Anaglyph) from DepthMaps.
26 Aug 2016 by T. Herselman
C++11 header-only class, executes functions on a separate thread, including return values. Featuring a unique custom built, low level, lock-free double buffered queue; with a high speed data format, executes a queue of functions in only 6 CPU instructions; lea,call,mov,add,cmp,jb
6 Oct 2010 by Tamus
A ReaderWriterLock that cannot deadlock, and thread-safe example collections
26 Jul 2016 by Zehaie M. Hailu
Python lends itself to the development of multi-threaded GUI and network applications.
3 Dec 2009 by Adam Robinson
The ProcessQueue manages a pool of threads to process a strongly-typed queue of items.
15 May 2010 by Shubhabrata Mohanty
This article describes how a Worker thread can take control of the UI and can update the UI, created by the UI thread.
21 Jul 2010 by Manabendra Roy (Manab)
.NET 4 brings a powerful Task library to support a piece of code to run in parallel processors. What it does just simply spawns threads into multiple processes using the newly written task libraries (System.Threading.Tasks) in mscorlib 4.0. Task libraries contain methods like For, ForEach and Invok
24 May 2012 by rspercy65
This is a remake of Pramod Kumar Sing's 2002 API Viewer.
22 Jul 2010 by Gilberto Francisco
How to get a Website/URL thumbnail/screenshot with C#.NET 2.0 in VS 2005.
4 Aug 2010 by Srivatsa Haridas
Simple steps to a Multithreaded application
9 Aug 2010 by JasonChing
How to Manage Multiple Asynchronous Calls by using Delegates
7 Sep 2010 by r_adem
Some tips to avoid leaking memory in your iPhone apps.
15 Oct 2010 by Andre Trollip
A simple set of classes to make creating Peer to Peer messaging easy using UDP. Features built-in message concatenation and delivery receipts for reliable transmission.
28 Oct 2010 by federico.strati
This is a standard Windows / C++ implementation of a multi-threaded queue.
23 Nov 2010 by Michal Stehlik
Simple way how to pack data into one file
8 Nov 2010 by John Kenedy S.Kom
This articles uses light threading, mutex, and simple algorithm to determine file to synchronize
9 Nov 2010 by Simeon Sheye
Quality Gate One Studio is a testing framework that suggests a new approach to unit and integration testing.
6 Dec 2010 by Apriorit Inc, Elizaveta Golub
This article includes a description of the monitoring process for the session logon/logout, connect/disconnect (regarding terminal and client sessions). Obtained results will be then used in the next article ”Creating process in the session”.
6 Dec 2010 by Apriorit Inc, Elizaveta Golub
This article contains the description of how to start a process in the current active session on session logon notification event with permissions of system process running in the current session.
20 Dec 2010 by David Jeske
A C# sorted map which can be efficiently subset scanned in both directions
15 Jan 2011 by ken.loveday
TemplateTimer: A convenient and simple MSVC / C++ timer wrapper for Windows using templates, where a class function can be easily specified for the timed event callback.
31 Jul 2015 by Faustino Frechilla
A circular array based lock-free queue with no memory allocation on the heap and no ABA problem
7 Mar 2011 by Michael Bookatz
Comparison between different methods to iterate over a list of items and see which method is the most effective
15 Mar 2011 by Espen Harlinn
This article shows how to create a simple trade logging server using Microsoft Message Queuing and Microsoft SQL Server
21 Mar 2011 by Jaco van Staden
Basic Implementation of a Memory Queue, Thread Queue and Basic Logging Framework
10 May 2011 by Sacha Barber
A look into using the Task Parallel Library.
13 May 2011 by logicchild
An article that describes concurrent collections.
5 Jun 2011 by Simon Bridge
Shows how to implement a system to generate events when network interfaces change.
12 Jul 2011 by jawed.ace
J-AXE file splitter is a Windows application developed using C# .NET to split file into time interval based on size and total files after splits.
2 Sep 2011 by Alexander Bessonov
A simple high-level IPC library with ability to use native C++ interfaces.
2 Nov 2011 by gndzero
A threaded application to identify if system VB6 OCX files are exploitable and generate a batch file to register updated OCX controls.
27 Oct 2011 by Lee Robie
Quick overview of the new language support for asynchonous programming in .NET 4.5.
3 Nov 2011 by Mitendra Anand
Thread synchronization using the Win32 Event object.
15 Nov 2011 by Gast128
Worker thread example with std or Boost threads and C++.
19 Nov 2011 by Pranjit Kalita
An introduction to semaphore in contrast to Monitor
28 Nov 2011 by Pranjit Kalita
An introduction to interlocked class for thread synchronization in .NET Framework
13 Mar 2012 by gossd
An introduction and proof of concept code for the idea of declarative multi threading in C#.
7 Mar 2012 by Kailash Shastri
An Object Oriented solution to Conway's Game of life problem in C#
23 Mar 2012 by Selim Sertaç BALCI
How to use delegates for async operations, pros and cons of it.
20 Mar 2012 by Jaxon7
Restoring UI Responsiveness FromContinuations (Asynch file IO)
9 May 2012 by Guillaume Waser
WPF Progress controls and comparing related threads methods
1 Jun 2012 by Simon Bridge
Provides a multi-threading library and demonstrates its use by rendering the Mandelbrot Set
22 Mar 2017 by Sergey Alexandrovich Kryukov
Addresses questions on graphics, threading with UI, form development, printing and more
22 Aug 2013 by Chris La
This article explains how to create your own simple Lock Framework for C++ synchronization.
29 Jul 2012 by nzjoel
This is a sample implementation of Pattern A from Virgil Dobjanschi's talk at Google IO 2010.
19 Nov 2012 by TheAntiCol
A sample WPF application that shows simple background tasks running on the UI thread.
3 Sep 2012 by Christopher Diggins
An informal survey of implementation techniques of the map higher-order function for arrays in C#.
7 Oct 2012 by Andriks
A MessageBox replacement with some much needed extras
5 Oct 2012 by Sunasara Imdadhusen
PDF MERGER and PROTECTOR is the best pdf merger software which is fast and powerful way to join(Merge) PDF files with password protection as well as you can apply stamper with either any type of image or text. Using this utility you don’t required installation of Adobe Acrobat. Looks Exciting ???
7 Oct 2012 by Maxim Kartavenkov
Article describes basic task which are requre to solve for developing your own DirectShow Splitter filters.
13 Oct 2012 by Maxim Kartavenkov
Article describes basic tasks for implementing your own File Source DirectShow filters.
23 Jan 2013 by Soroosh Bateni
This is basicaly Charles Putney's dns tester but also is multithreaded and can be used with a static list
29 Aug 2013 by Keith L Robertson
Write synchronous-looking asynchronous methods without async/await in Visual Studio 2010.
24 Dec 2012 by jmolivieri
Extension of boost::upgrade_mutex
9 Jan 2013 by Albara Hakami
A Windows Forms application to share a whiteboard with many clients with only one drawer, in a gamy way.
7 Jan 2013 by Jason Curl
Describes the usage of Asynchronous I/O with I/O Completion ports with .NET
21 Jan 2013 by Simeon Sheye
How to manage state and simulate behavior against the system under test.
19 Oct 2020 by Sudheesh.P.S
Automatic thread synchronization classes which throw exceptions instead of error codes
4 Apr 2013 by Michael Mann (mann.DEV)
Plugin migration with new features of .NET 3.5.
30 Nov 2015 by Nejimon CR
Implement WCF web service access from WPF with busy indicator and premature cancellation feature without using delegates, background worker, or separate event procedure
30 Mar 2013 by VSNetVbHarry
Implement a progress bar and pass arguments to a LongRunningProcess.
25 Jul 2013 by tumbledDown2earth
An event based plug-in library for enterprise application integration, extensibility and cross business application management.
13 May 2013 by Eduardo Antonio Cecilio Fernandes
How to build a simple Scheduler in C# for Desktop and Web Applications
16 Jun 2013 by Darek Danielewski
The subject of thread safety is often overlooked by even experienced developers. When designing an application or service to be utilized by multiple internal and external threads, one must account for potential issues arising from concurrent access to shared data.
23 Jun 2013 by Priyank Purwar
This article will help you understand Thread`s Synchronization objects with a real life example.
20 Aug 2013 by DataBytzAI
A Windows threaded client and MVC server demonstrating interaction via XML exchange
19 Aug 2013 by Suresh P V
Thread pool class
6 Feb 2014 by Mahesh Bailwal
Basics about Windows thread which may help you in understanding how operating system implements threads.
11 Oct 2013 by ASP.NET Community
There are so many threads open related to this issue. After sign out when the user press BACK button on the browser, it gets him to the members page.
18 Oct 2013 by ASP.NET Community
Improve the scalability of a website and efficient design for time consuming processes.
2 Dec 2013 by Gerald Gomes
Starting modular application development using Prism, WPF, and Unity container.
18 Dec 2013 by Hari Mahadevan
Describes a C++ class that encapsulates the WaitForMultipleObjects API usage pattern making it easy to integrate it with C++ objects.
26 Aug 2014 by bkelly13
Start a class as a thread, made simple
23 Jan 2014 by Alexander Sharykin
Implementations of a computing pipeline, with design explanation and code samples
9 Jan 2014 by Hari Mahadevan
Describes a C++ class that encapsulates the WaitForMultipleObjects API usage pattern making it easy to integrate it with C++ objects.
5 Mar 2014 by Saurabh_Saxena
async and await- Simplified -Internals
29 Mar 2014 by Yesy
Improve WPF async data binding
22 Apr 2014 by MSBassSinger
Writing a threaded application with a responsive UI
13 May 2014 by Michael Adaixo
Non blocking C# task cancelling
9 Oct 2014 by Pavel Durov
This article is explaining how to implement a basic game fundamentals on Android platform.
15 Dec 2014 by Hassan Mokdad
In this article I will demonstrate two things: First a very basic and simple code snippet to show how we can use task factory to make our web applications more responsive, the next part will be on how to use the SignalR to broadcast messages from the Web Server to all the clients connected.
27 May 2015 by Arup Banerjee
The project is a simple Temperature Converter WPF Application which will allow user to convert from Celsius to Fahrenheit and vice versa. The objective however is to demonstrate techniques that are important when building large-scale front-end enterprise software.
30 Jun 2015 by Federico Di Marco
This article presents a general purpose event class called SyncEvent supporting standard thread synchronization operations like signalling and waiting, also on multiple events.
13 Nov 2015 by Tim Bomgardner
Make .NET threadpool threads jump through hoops with this handy support class
9 Aug 2016 by Rasik Bihari Tiwari
Let's understand the evolution from older multi-threading world to Task Parallel library (alias TPL). What are the use cases where you would want to leverage TPL instead of creating threads on your own. What are exact areas where TPL has real edge.
2 Aug 2020 by Evgeny Pereguda
Clone of PCSX/PCSX2/PPSSPP emulator for Windows 10 on WPF/C# with "touch" control
26 Aug 2018 by Toby Steed
Framework – Your First Framework – Part 3
26 Aug 2018 by Toby Steed
Mistakes – What Are You Waiting For?
26 Aug 2018 by Toby Steed
In the last article, we discussed the definition of a framework and expanded on it. And we tried to understand that the idea of writing your own framework isn’t quite as scary as you might think.
11 Oct 2018 by DaveAuld
This is a probability based simulation that demonstrates 'Swapping' is considered the best option! We also look at the effect of multi-threading and multi-process in Python.
18 Sep 2018 by Randy C Finch
A search for efficient algorithms to find Ruth-Aaron pairs
2 Oct 2019 by Eduard Silantiev
Using various approaches to increase ASP.NET Core WEB API application's productivity
10 Oct 2018 by Vangos
During the past few months, I have been heavily experimenting with the Intel RealSense D415 & D435 depth camera. Today, I am going to show you how to easily transform between different coordinate systems. RealSense D415/435 is a low-cost device....
12 Nov 2018 by Vlad Neculai Vizitiu
How to add functionality to an ASP.NET Core application outside of a request
20 Nov 2018 by Apriorit Inc, Artem K.
Find out approaches which you can use to improve runtime algorithms for zero-day threat detection
1 Jan 2019 by Serge Berlin
.NET Library for in-memory GZip and LZMA compression combined with strong BlakeB based stream cipher engine
15 Feb 2019 by Benktesh Sharma
How to implement async tasks in Android
8 Sep 2019 by honey the codewitch
A Tiny Dynamic Home Webserver in .NET that runs on Core and DNF both (Take 2)
15 Jul 2020 by honey the codewitch
How to implement a complicated multithreaded message passing scenario
18 Jul 2020 by honey the codewitch
Leveraging some less well known areas of the .NET Task framework to schedule tasks to execute on your own conditions.
19 Jun 2021 by Chetan Kudalkar
Meaning of synchronized keyword with a deeper look