Search - Articles
DevASP.NET for ASP.NET, VB.NET, XML and C# (C-Sharp) Developers Tuesday, March 03, 2009
Dev Articles
Search Directory
ASP.NET
VB.Net
C-Sharp
SQL Server
 

FREE 12 month online training for ASP.NET & MS Expression Studio and a Free copy of MS Expression Web with Windows Server Purchase

Home >Search > Articles & Samples > C-Sharp > Threading


Search:
What's New - What's Hot
A Base Class to Allow Start/Stop Threading Safely  Version: 0.00     Price: $0.00  
Total Hits: 3  |  Today: 0Author: Gizz      Rating:  
Read Reviews | Write Review |  Your Rating: 

This is a quick article on how to apply a nice easy base class to the age-old problem of getting your classes to support internal worker threads in a thread-safe manner. What I wanted was a base class that lets an internal thread start and stop sensibly, and have an abstract callback method that allows flexible 'units of work' to be executed....

Loading XML File in a TreeView Control using Multithreading  Version: 0.00     Price: $0.00  
Total Hits: 1  |  Today: 0Author: Manisha Mehta      Rating:  
Read Reviews | Write Review |  Your Rating: 

There are many occasions when programmers need to develop multithreading applications, which can load big files in the background and let the user do data entry or other jobs without any interruption. In this article, I'll show you how to create multiple threads to load multiple files....

How to run method in separate thread  Version: 0.00     Price: $0.00  
Total Hits: 0  |  Today: 0Author: Pavel Yermalovich      Rating:  
Read Reviews | Write Review |  Your Rating: 

Here is the main method which can run a method in a separate thread:...

ConvergeWait  Version: 0.00     Price: $0.00  
Total Hits: 2  |  Today: 0Author: Alaric Dailey      Rating:  
Read Reviews | Write Review |  Your Rating: 

This is the second article in my series. This time, I want to demonstrate something that I have found very useful. A thread-synchronization object that is very different than anything .NET provides....

Intraprocess Thread Messaging  Version: 0.00     Price: $0.00  
Total Hits: 1  |  Today: 0Author: WillSkou      Rating:  
Read Reviews | Write Review |  Your Rating: 

This library implements messaging for worker threads within a process. All threads communicate with each other via a single point of access, the message queue or mailbox. Messages are processed serially by the thread. The mailbox ensures messages are queued and not lost until the thread can get around to processing them. This is an asynchronous messaging system, so sending threads don't block. By declaring all the data and code for a thread inside of a class, there are no concurrency issues with...

Understanding SynchronizationContext: Part III  Version: 0.00     Price: $0.00  
Total Hits: 30  |  Today: 0Author: mikeperetz      Rating:  
Read Reviews | Write Review |  Your Rating: 

This article is the last part of the three part series on SynchronizationContext. SynchronizationContext is a class introduced by .NET 2.0 with little documentation or explanation of how to use it. I have tried to explain in part one how to use this class, and in part two, how to create your own SynchronizationContext. In part two, I showed how to build a SynchronizationContext that will marshal code from any .NET thread into a STA thread. I have done this so I can execute COM code that needs to...

ProcessCommunicator  Version: 0.00     Price: $0.00  
Total Hits: 1  |  Today: 0Author: PIEBALDconsult |      Rating:  
Read Reviews | Write Review |  Your Rating: 

This is an implementation of an IScriptableCommunicator that can interact with a console application by running it in a Process and redirecting its standard streams....

High Performance Multi-threaded Work Item / Event Scheduling Engine  Version: 0.00     Price: $0.00  
Total Hits: 0  |  Today: 0Author: owen654321      Rating:  
Read Reviews | Write Review |  Your Rating: 

This article is the first of a multi-part series that will cover the architecture and implementation of components needed to create and maintain a robust, scalable, high performance massive multiplayer online game server and game engine.

As the first article in a series about architecting and implementing a massive multiplayer online game server and engine, this article focuses on the design and implementation of a necessary component, responsible for transforming static virtual bits into...

Create Cross-platform Thread-Independent Event Loops  Version: 0.00     Price: $0.00  
Total Hits: 37  |  Today: 0Author: Alex_Intw      Rating:  
Read Reviews | Write Review |  Your Rating: 

Event-driven programming is a computer programming paradigm in which the flow of the program is determined by user actions (mouse clicks, key presses), other hardware events, or messages from other programs[1]. The alternative is batch programming, where the programmer writes a fixed control sequence determining the actions of the program. In the Microsoft Windows environment, event-driven programs contain an event loop that is registered with the operating system. The operating system passes me...

MultiThreading     
Total Hits: 197  |  Today: 0Author: ggarung      Rating:  
Read Reviews | Write Review |  Your Rating: 

Multithreaded applications provide the illusion that numerous activities are happening at more or less the same time. In C# the System. Threading namespace provides a number of types that enable multithreaded programming....

How to tell if a process is not Responding     
Total Hits: 208  |  Today: 0Author: Peter Bromberg      Rating:  
Read Reviews | Write Review |  Your Rating: 

Simple example of using built-in methods of the Process class to tell if an application is responding, and optionally kill the process....

Working with Threads in C#     
Total Hits: 341  |  Today: 0Author: Joydip Kanjilal      Rating:  
Read Reviews | Write Review |  Your Rating: 

Microsoft .NET provides support for threads at the language level just like Sun’s Java. This article describes some important related terminology and discusses Multithreading in .NET with some code examples.
A process may be defined as the running instance of a program characterized by change of state and attributes. Each and every process maintains a Process Control Block or PCB of its own. A thread is a light weight process. It is the smallest unit of CPU utilization and is also the pat...

Creating your own thread pool in .NET     
Total Hits: 328  |  Today: 0Author: Xiangyang Liu      Rating:  
Read Reviews | Write Review |  Your Rating: 

Suppose we are writing a server program that processes requests from clients. If multiple requests can come into the server simultaneously, we can usually get better overall performance by using multiple worker threads to process these requests. In ASP.NET applications, the .NET framework maintains a thread pool to process user requests. Typically, we don't have to do anything with the thread pool itself. In other applications, we may need to create our own thread pool. There is a ThreadPool cla...

Multithreading in .NET Applications, Part 3     
Total Hits: 292  |  Today: 0Author: CodeGuru      Rating:  
Read Reviews | Write Review |  Your Rating: 

The author presents his third and final installment of the series on multithreading. Take a look at how threads can be used to write a server application to accept multiple requests. This will involve using classes from the System.Threading namespace along with classes from the System.Net namespace....

Multithreading with C#     
Total Hits: 1199  |  Today: 0      Rating:  
Read Reviews | Write Review |  Your Rating: 

Threads are a powerful abstraction for allowing parallelized operations: graphical updates can happen while another thread is performing computations, two threads can handle two simultaneous network requests from a single process, and the list goes on. This article will focus on the syntactical differences between Java and C# threading capabilities as well as presenting a translation of a few common Java usage patterns into C#.
...

Steps involved in Thread lifecycle  Version: 0.00     Price: $0.00  
Total Hits: 1  |  Today: 0Author: Shinuraj      Rating:  
Read Reviews | Write Review |  Your Rating: 

When you are programming with threads, understanding the life cycle of a thread is very valuable. While a thread is alive, it is in one of several states. By invoking the start() method, it doesn't mean that the thread has access to the CPU and starts executing immediately. Several factors determine how it will proceed....

C# Introduction to Fuzzy Computing: Part I  Version: 0.00     Price: $0.00  
Total Hits: 1  |  Today: 0Author: Matthew Cochran      Rating:  
Read Reviews | Write Review |  Your Rating: 

Boolean logic often fails to adequately simulate real-world conditions because things are never simply just black and white (or zeroes and ones) but exist in millions of shades of grey. This article is a brief introduction to the subject of fuzzy computing through demonstration of a few of the core principles using a fuzzy controller....

Grypto-Grid Solution to digital signatures  Version: 0.00     Price: $0.00  
Total Hits: 1  |  Today: 0Author: Raghavendra Prabhu      Rating:  
Read Reviews | Write Review |  Your Rating: 

Grid computing has become necessary with increase in need for computing power. Grid computing primarily allows us to delegate the processing to idle nodes. Several embarrassingly parallel applications which run poorly in uni-processor machines can be run on computational grids. Several middleware are available. Prominent ones for .NET 2.0 platform are Digipede and Alchemi....

Enhanced Oracle Explorer in C# and .NET using Windows Forms  Version: 0.00     Price: $0.00  
Total Hits: 1  |  Today: 0Author: This application will allows to do multiple simple      Rating:  
Read Reviews | Write Review |  Your Rating: 

This application will allows to do multiple simple activities on oracle database like running select statements and getting selected procedure's definition simultaneously in a thread-based GUI....

Multi-threaded Asynchronous Programming in C#... Getting started.  Version: 0.00     Price: $0.00  
Total Hits: 2  |  Today: 0Author: Matthew Cochran      Rating:  
Read Reviews | Write Review |  Your Rating: 

Trying to build better solutions and growing as a developer has always been fun for me and I’m always looking for ways to build more scalability and robustness in the software I am writing. I had a revelation that I’ve been doing a lot of C# tweaking but not taking advantage of the core performance enhancements cooked right into C# and it all comes down to one thing: Asynchronous multi-threaded programming....


1  2  3  4  5  6  7  8  9  10  Next >> 


Disclaimer - Privacy
© 2002-2012 DevASP.net