Click here to Skip to main content
15,445,997 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 Greg Utas
Keeping a program running when it would otherwise abort
by Mircea Neacsu
C++ thread objects and their use
by Greg Utas
Cleaving the Gordian knot of thread safety
by Mohammad Elsheimy
SynchronizationContext class and how it affects code behavior in action, and a look at Task.ConfigureAwait()

All Articles

Sort by Score

Threads 

13 Oct 2012 by Maxim Kartavenkov
Articles describes how to create virtual video capture source directshow filter in pure C#
16 Jul 2012 by Maxim Kartavenkov
Article describes how to make H.264 Video Encoder DirectShow Filter using NVIDIA encoder API in C#
22 Mar 2017 by Sergey Alexandrovich Kryukov
Addresses questions on graphics, threading with UI, form development, printing and more
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
6 Jul 2021 by Piotr Grygorczuk
Enable C++11 multithreading features in GCC for FreeRTOS
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.
2 Aug 2020 by Evgeny Pereguda
Clone of PCSX/PCSX2/PPSSPP emulator for Windows 10 on WPF/C# with "touch" control
14 Jun 2016 by Noah L
Beware the data race sneak attack.
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
28 Aug 2021 by Mohammad Elsheimy
SynchronizationContext class and how it affects code behavior in action, and a look at Task.ConfigureAwait()
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.
13 May 2014 by Michael Adaixo
Non blocking C# task cancelling
17 Jun 2022 by Mircea Neacsu
C++ thread objects and their use
12 Feb 2014 by SarmadAsghar
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.
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....
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.
23 Jun 2013 by Priyank Purwar
This article will help you understand Thread`s Synchronization objects with a real life example.
27 Feb 2021 by honey the codewitch
Using a popular RTOS to enable easy multithreading on your IoT gadgets
26 Jul 2016 by Zehaie M. Hailu
Python lends itself to the development of multi-threaded GUI and network applications.
9 May 2012 by Guillaume Waser
WPF Progress controls and comparing related threads methods
12 Nov 2018 by Vlad Neculai Vizitiu
How to add functionality to an ASP.NET Core application outside of a request
27 Sep 2019 by Alkenso
Smart queue that executes tasks in threadpool-like manner
4 Apr 2013 by Jean-marc Lai
Unity interception
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.
29 Jul 2012 by nzjoel
This is a sample implementation of Pattern A from Virgil Dobjanschi's talk at Google IO 2010.
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.
19 Jun 2021 by Chetan Kudalkar
Meaning of synchronized keyword with a deeper look
1 Jan 2019 by Serge Berlin
.NET Library for in-memory GZip and LZMA compression combined with strong BlakeB based stream cipher engine
20 Mar 2012 by Jaxon7
Restoring UI Responsiveness FromContinuations (Asynch file IO)
24 Mar 2013 by SumitJaiswal
Knowledge sharing article on WWF.
30 Mar 2013 by VSNetVbHarry
Implement a progress bar and pass arguments to a LongRunningProcess.
20 Nov 2018 by Apriorit Inc, Artem K.
Find out approaches which you can use to improve runtime algorithms for zero-day threat detection
27 Jun 2022 by Greg Utas
Keeping a program running when it would otherwise abort
3 Sep 2010 by Sacha Barber
A look into messaging solutions using NServiceBus.
3 Jan 2015 by Dan Thyer
Remote control a squirt gun, open the garage, and water the garden all through .net
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
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 ???
10 May 2011 by Sacha Barber
A look into using the Task Parallel Library.
31 Jul 2015 by Faustino Frechilla
A circular array based lock-free queue with no memory allocation on the heap and no ABA problem
2 Oct 2019 by Eduard Silantiev
Using various approaches to increase ASP.NET Core WEB API application's productivity.
29 Aug 2013 by Keith L Robertson
Write synchronous-looking asynchronous methods without async/await in Visual Studio 2010.
1 May 2011 by Patrick Kalkman
This article describes how I developed Androng, a Pong clone for Android.
25 Feb 2014 by Dirk Bahle
Save/Load AvolonDock layouts without DockingManager references.
17 May 2011 by Sacha Barber
A look into using the Task Parallel Library.
11 Jul 2012 by Maxim Kartavenkov
Articles describes how to make pure C# rendering video on EVR with custom presenter over Direct3D in .NET
27 Aug 2012 by Ami Bar
A .NET Thread Pool fully implemented in C# with many features.
10 May 2011 by Sacha Barber
A look into using the Task Parallel Library.
9 Apr 2016 by Mohamed Hamdy
A boring talk about What’s really going on at runtime...
13 Jul 2011 by Sacha Barber
Using HTML5 WebWorkers and a custom jQuery plug-in to create a Flickr image wall.
27 Feb 2012 by Leslie Zhai
Porting Axel a lighter download accelerator for Linux and other Unices to NATIVE WIN32
7 Oct 2018 by Mojtaba Hosseini
A graphical binary tree. Features: add, remove, or search for a node. Recursive algorithm has been used
13 Mar 2012 by gossd
An introduction and proof of concept code for the idea of declarative multi threading in C#.
20 Sep 2011 by Soroush Falahati
Introducing a class for generating 3D images (Stereoscopic and Anaglyph) from DepthMaps.
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
4 Aug 2010 by Srivatsa Haridas
Simple steps to a Multithreaded application
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.
21 Jan 2013 by Simeon Sheye
How to manage state and simulate behavior against the system under test.
10 May 2011 by Sacha Barber
A look into using the Task Parallel Library
23 Nov 2010 by Michal Stehlik
Simple way how to pack data into one file
21 Mar 2011 by Jaco van Staden
Basic Implementation of a Memory Queue, Thread Queue and Basic Logging Framework
9 Nov 2010 by Simeon Sheye
Quality Gate One Studio is a testing framework that suggests a new approach to unit and integration testing.
18 Sep 2018 by Randy C Finch
A search for efficient algorithms to find Ruth-Aaron pairs
19 Aug 2013 by Suresh P V
Thread pool class
10 Jan 2011 by Ajay Vijayvargiya
Let's enhance our Debugger!
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.
22 Apr 2014 by MSBassSinger
Writing a threaded application with a responsive UI
18 Feb 2013 by essence
A walkthrough explanation of the issues and solutions to thread safe synchronization.
3 Sep 2012 by Christopher Diggins
An informal survey of implementation techniques of the map higher-order function for arrays in C#.
29 Mar 2014 by Yesy
Improve WPF async data binding
7 Oct 2013 by Rick Bassham
An introduction into creating a working FTP server in C# using the RFC specification.
7 Feb 2012 by Sacha Barber, Richard E King
Streaming live results to a web site using MSMQ/Duplex WCF/SignalR/jQuery
29 Apr 2014 by Shai Vashdi
Simplifying the use of UI threads (using the Dispatcher) & new threads in WPF
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.
28 Aug 2010 by Efe Erdoğru
This is an experimental & educational project for system monitoring based on "Base Library for Multi-threaded Windows Services" architecture
5 Jun 2011 by Simon Bridge
Shows how to implement a system to generate events when network interfaces change.
13 Nov 2015 by Tim Bomgardner
Make .NET threadpool threads jump through hoops with this handy support class
6 Jul 2015 by Sacha Barber
A brief look at using the .NET Akka framework (Akka.NET)
24 Nov 2010 by C_Johnson
RS232 Communication from PC to a PIC using WPF
25 Jul 2013 by tumbledDown2earth
An event based plug-in library for enterprise application integration, extensibility and cross business application management.
3 Aug 2014 by Hassan Hashemi
in this article we`ll take a look at processes and threads in windows
15 Feb 2019 by Benktesh Sharma
How to implement async tasks in Android
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?
22 Aug 2013 by Woong Gyu La
This article explains how to create your own simple Lock Framework for C++ synchronization.
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
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.
19 Jun 2013 by KK Kod
Document describes about the Delegate in C# and the usage of delegate in different scenarios
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
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.
15 Aug 2014 by AnthonyPaulO
These classes should solve the multi-threaded issues plaguing the collection classes for good.
23 Jan 2014 by Alexander Sharykin
Implementations of a computing pipeline, with design explanation and code samples
9 May 2011 by sameer_87
A spin lock implementation which can be used for general purpose locking.
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
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
31 Dec 2014 by KjellKod.cc
How to make a wait-free, lock-free CircularFifo using C++11.
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.
28 Nov 2011 by Pranjit Kalita
An introduction to interlocked class for thread synchronization in .NET Framework
18 Feb 2013 by essence
A walkthrough explanation of the issues and solutions to thread safe synchronization.
3 Sep 2012 by Christopher Diggins
An informal survey of implementation techniques of the map higher-order function for arrays in C#.
29 Mar 2014 by Yesy
Improve WPF async data binding
7 Oct 2013 by Rick Bassham
An introduction into creating a working FTP server in C# using the RFC specification.
7 Feb 2012 by Sacha Barber, Richard E King
Streaming live results to a web site using MSMQ/Duplex WCF/SignalR/jQuery
29 Apr 2014 by Shai Vashdi
Simplifying the use of UI threads (using the Dispatcher) & new threads in WPF
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.
28 Aug 2010 by Efe Erdoğru
This is an experimental & educational project for system monitoring based on "Base Library for Multi-threaded Windows Services" architecture
5 Jun 2011 by Simon Bridge
Shows how to implement a system to generate events when network interfaces change.
13 Nov 2015 by Tim Bomgardner
Make .NET threadpool threads jump through hoops with this handy support class
6 Jul 2015 by Sacha Barber
A brief look at using the .NET Akka framework (Akka.NET)
24 Nov 2010 by C_Johnson
RS232 Communication from PC to a PIC using WPF
25 Jul 2013 by tumbledDown2earth
An event based plug-in library for enterprise application integration, extensibility and cross business application management.
3 Aug 2014 by Hassan Hashemi
in this article we`ll take a look at processes and threads in windows
15 Feb 2019 by Benktesh Sharma
How to implement async tasks in Android
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?
22 Aug 2013 by Woong Gyu La
This article explains how to create your own simple Lock Framework for C++ synchronization.
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
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.
19 Jun 2013 by KK Kod
Document describes about the Delegate in C# and the usage of delegate in different scenarios
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
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.
15 Aug 2014 by AnthonyPaulO
These classes should solve the multi-threaded issues plaguing the collection classes for good.
23 Jan 2014 by Alexander Sharykin
Implementations of a computing pipeline, with design explanation and code samples
9 May 2011 by sameer_87
A spin lock implementation which can be used for general purpose locking.
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
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
31 Dec 2014 by KjellKod.cc
How to make a wait-free, lock-free CircularFifo using C++11.
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.
28 Nov 2011 by Pranjit Kalita
An introduction to interlocked class for thread synchronization in .NET Framework
13 May 2013 by Eduardo Antonio Cecilio Fernandes
How to build a simple Scheduler in C# for Desktop and Web Applications
7 Oct 2012 by Andriks
A MessageBox replacement with some much needed extras
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
5 Mar 2014 by Saurabh_Saxena
async and await- Simplified -Internals
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.
6 Feb 2014 by Mahesh Bailwal
Basics about Windows thread which may help you in understanding how operating system implements threads.
11 Mar 2013 by RajeshRaushan
A beginner's approach to create a custom thread pool to understand the concept of multithreading and synchronization.
10 Aug 2010 by Petr Bříza
A simple HTTP client implementation based on sockets with ability to limit upload/download speed
22 Jul 2010 by Gilberto Francisco
How to get a Website/URL thumbnail/screenshot with C#.NET 2.0 in VS 2005.
11 Aug 2010 by Huisheng Chen
Distributed File Management
9 Aug 2010 by Nigel Ealand
A simple stereo sound volume meter with audio capture card selection.
9 Oct 2014 by Pavel Durov
This article is explaining how to implement a basic game fundamentals on Android platform.
15 Apr 2019 by Michael Chourdakis
Use Windows new ThreadPool through a single C++ 11 class.
28 Oct 2010 by federico.strati
This is a standard Windows / C++ implementation of a multi-threaded queue.
1 Mar 2011 by Olivier Levrey
ProgressForm automatically starts a BackgroundWorker when loaded, and provides a progress bar and a cancel button.
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.
20 Aug 2013 by DataBytzAI
A Windows threaded client and MVC server demonstrating interaction via XML exchange
22 Jul 2020 by honey the codewitch
Diving into some of the core plumbing behind the Windows operating system
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.
29 Jan 2014 by SarmadAsghar
This will provide opportunity to calculate aggregates, joins on the data retrieved from API’s which was never done.
14 Jul 2020 by honey the codewitch
This article explores a message passing mechanism for safe thread to thread communication
17 Jan 2014 by Assil
A running example of a duplex channel in WCF services.
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.
15 Nov 2011 by Gast128
Worker thread example with std or Boost threads and C++.
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.
7 Sep 2010 by r_adem
Some tips to avoid leaking memory in your iPhone apps.
19 Nov 2012 by TheAntiCol
A sample WPF application that shows simple background tasks running on the UI thread.
13 May 2011 by logicchild
An article that describes concurrent collections.
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
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.
3 Dec 2009 by Adam Robinson
The ProcessQueue manages a pool of threads to process a strongly-typed queue of items.
2 Dec 2013 by Gerald Gomes
Starting modular application development using Prism, WPF, and Unity container.
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.
7 Mar 2012 by Kailash Shastri
An Object Oriented solution to Conway's Game of life problem in C#
26 Aug 2014 by bkelly13
Start a class as a thread, made simple
27 Apr 2014 by Bartlomiej Filipek
This book is a must-have resource for any C++ developer!
15 Jul 2020 by honey the codewitch
How to implement a complicated multithreaded message passing scenario
27 Oct 2011 by Lee Robie
Quick overview of the new language support for asynchonous programming in .NET 4.5.
6 May 2014 by AndyUk06
A non-nonsense guide to setting up Boost threads in Visual Studio environments.