Multimobile Development: Building Applications for any Smartphone
System.Threading.ThreadPool Class
Information   Base Types   Related Resources

Provides a pool of threads that can be used to post work items, process asynchronous I/O, wait on behalf of other threads, and process timers.

  • Namespace: System.Threading
  • Assembly: mscorlib.dll

  • System.Object
  • View this type on MSDN
  • Search for this type on MSDN using MSDN's own search engine
  • Google for this type - all Web
  • Google for this type - MSDN only
    Articles (33)Discussions (418)MembersRotor
    Articles

    Page: 12
    A .NET Progress Dialog
    The Code Project
    There are many processing operations that will take more than 1/10th of a second to complete, even on today's processors! To avoid tying up the user interface, a common approach is to spawn a new thread and do the work there, whilst sending updates back to a suitable indicator on the UI thread. This is one such indicator, implemented in C# using the .NET framework.
    A C# Framework for Interprocess Synchronization and Communication
    The Code Project
    How to share resources and implement a rich message/data passing architecture between threads and processes (SOA)
    Adventures in Visual Basic .NET: Broadcasting Messages to Multiple Clients
    MSDN
    Rocky Lhotka discusses optimistic concurrency and shows you how to create a messaging system that lets multiple users know when they are editing the same data at the same time.
    ASP.NET: 10 Tips for Writing High-Performance Web Applications
    MSDN
    : 10 Tips for Writing High-Performance Web Applications
    Asynchronous Command Execution in ADO.NET 2.0
    MSDN
    Get an overview of the new asynchronous execution functionality in ADO.NET 2.0, the scenarios it was developed to enable, plus some of the issues to keep in mind when using this feature.
    Blog Reader Add-In for Visual Studio .NET
    The Code Project
    A blog reader, integrated into Visual Studio. Shows a list of blogs, blog entries, and which entries you haven’t read yet
    C++: The Most Powerful Language for .NET Framework Programming
    MSDN
    Explore the design and rationale for the new C++/CLI language introduced with Visual C++ 2005.
    CodeSnip: Impersonation in ThreadPool Worker Threads
    http://aspalliance.com/
    This article provides step-by-step directions to enable ThreadPool worker threads to act under the same identity that the main thread does when ASP.NET identity impersonation is being used.
    Creating a professional looking GDI+ drawn custom control
    The Code Project
    Shows how to create a custom scrolling label control with GDI+ and proper double buffering
    Design Patterns: Simplify Distributed System Design Using the Command Pattern, MSMQ, and .NET
    MSDN
    Use object-based collaboration to perform distributed tasks inside your local network.
    Developing a Generic Thread Pool in C#
    C#Today
    One of the C# languages most powerful capabilities is its built-in support for threads. Threads are a powerful abstraction for allowing non-blocking parallel operations. Often there is a need to perform operations asynchronously. In languages like C/C++, you either have to write your own library from scratch, or use a third party solution. If continuous creation of these threads in any program is not controlled, the machine will run out of memory pretty soon. In this article, Tejaswi Redkar looks at the concept of thread pooling, and why it is important to use thread pools in server systems. Along the way, we will also develop a generic thread pool library that will be available for use on a regular basis.
    Fun with DVR-MS
    MSDN
    Use Windows XP Media Center 2005 and DirectShow to record and store television files.
    Functionality and design of a thread pool class
    C#Today
    Multithreading is a very complex topic. Programmers have to deal with difficulties like resource sharing and thread synchronization, thread lifetime management, and starvation. Fortunately, the new Microsoft .NET technology provides a complete OO solution to handle these problems. Using the System.Threading namespace, you have classes for thread synchronization, callback scheduling with timers, thread management, and thread pooling. This is the first part of a two part article by Vincenzo Tenisci that looks at thread pooling and thread management. In this first part, he looks at thread pool design and implementation, gives an overview of the .NET Threadpool class, and designs and implements a custom thread pool.
    How to synchronize access to a shared resource in a multithreaded environment by using Visual C++ .NET
    Microsoft Support
    (816160) - In applications that you create by using Microsoft Visual C++ .NET, you can perform multiple tasks at the same time by using multithreading. Multithreading permits you to start different threads to complete different tasks at the same time....
    Microsoft Visual C++ .NET 2003 Kick Start Chapter 3: The .NET Base Class Libraries
    The Code Project
    An introduction to the .NET base class libraries.
    Multiple Thread Techniques for a C# Windows Service
    C#Today
    Visual Studio .NET allows us to get a basic Windows service up and running quickly. The next step is to give our service the high-performance features and configurability required for real world applications. In this article, Scott Allen demonstrates how to use multithreaded techniques in .NET to achieve higher throughput and scalability in a sample Windows service. In addition, we cover configuration of the service via an XML file. In order to demonstrate the techniques discussed in the article we develop a "stock alerts" Windows service, which retrieves stock quotes from a web service and emails interested parties when a stock price moves past a specific threshold. The topics covered inside the article are also applicable to other .NET application types.
    Multithreading Concepts in C#
    The Code Project
    An introduction to multithreading concepts in C#.
    Multithreading in .NET
    The Code Project
    Asynchronous processing and background processing was always a must for serious programs serving complex user needs. The Windows NT platform offers a great way to accomplish this, but the implementation was sometimes tedious and always labor intensive. It is the reason why I first studied multithreading options offered by the .NET framework.
    Multithreading Part 3: Thread Synchronization
    C# Corner
    Gradually, as you start picking up the threads of multi-threading, you would feel the need to manage shared resources. The .NET framework provides a number of classes and data types that you can use to control the access to shared resources.
    Multithreading Part 4: The ThreadPool, Timer classes and Asynchronous Programming Discussed
    C# Corner
    If you were following my first three parts of this series, you probably are familiar with basics of threading and how to write simple multithreading applications in .NET using the System.Threading.Thread class and implementing thread synchronization on the .NET platform. In this article, I would discuss few more .NET classes and how and what role do they play a role in building multithreading applications.
    Pi, a small but helpful popup info implemented in C#
    The Code Project
    A component for popup infos with configurable lifetime and callback features
    PRB: Contention, Poor Performance, and Deadlocks When You Make Web Service Requests from ASP.NET Applications
    http://www.kbalertz.com/
    (821268) - When you make calls to XML Web services from an ASP.NET application, you may experience contention, poor performance, and deadlocks. Clients may report that requests stop responding (or "hang") or take a very long time to execute. If a deadlock is...
    PRB: Contention, Poor Performance, and Deadlocks When You Make Web Service Requests from ASP.NET Applications
    Microsoft Support
    (821268) - When you make calls to XML Web services from an ASP.NET application, you may experience contention, poor performance, and deadlocks. Clients may report that requests stop responding (or "hang") or take a very long time to execute. If a deadlock is...
    Queue & ThreadPool class in Managed C++
    The Code Project
    The article describes a simple class that implements a ThreadPool based on a object Queue.
    Smart Thread Pool
    The Code Project
    Smart Thread Pool implementation in .NET.
    Ad
    BootFX
    Reliable and powerful .NET application framework.
    iOS, Android and Windows Phone Development Training and Consultancy
    Hosted by RackSRV Communications
     
    Multimobile Development: Building Applications for any Smartphone
    Copyright © AMX Software Ltd 2008-2010. Portions copyright © Matthew Baxter-Reynolds 2001-2010. All rights reserved.
    Contact Us - Terms of Use - Privacy Policy - 4.0.30129.1734