Articles related to "Tthread"



Using threads Part II. TThread class.
This article explains creation a TThread subclass in details. Program example is also included.
thread threads tthread delphi windows

Client requests handling.
One of common usage of threads is a client request processing.Server application should create one or more threads per client in order to process their requests concurrently without blocking. This article is dedicated to common way of creating threads that process messages (or "client requests") sequentially.
thread threads tthread delphi windows

Coordinating threads part 4. Event objects.
The article touches upon event objects - another important kernel object useful for thread coordination.
thread threads tthread delphi windows

Coordinating threads Part I
How to make threads work together? How to avoid simultaneous accessing global objects or variables? What support does the VCL provide?
thread threads tthread delphi windows

Coordination threads Part II. Critical sections.
How do critical sections work? This article contains my own implementation of a simple synchronization object – critical section.
thread threads tthread delphi windows

More collections. Part 2.
In the previous article we began to write a simple application. Here is the continuation.
thread threads tthread delphi windows

Ñoordinating threads Part 3. Win32 objects. Mutex object.
Introduction to Win32 (kernel) objects. Implementing Mutex (MUTual EXecution) object functionality. Code example is included.
thread threads tthread delphi windows

Using collections. Part1.
This article starts new series that is dedicated to some useful VCL classes. Now let' look at TCollection class. TCollection is a container for TCollectionItem objects. The VCL controls (such as TDBGrid, TListView, TStatusBar, etc) widely use objects derived from TCollection.
thread threads tthread delphi windows

Windows and message handling. Part 1
As far as you know, a window in an application written for the Microsoft Windows operating system is a rectangular area of the screen where the application displays output and receives input from the user. A window can be a target of messages – memory area that contains two parameters. It's easy to use windows for inter-thread communication.
thread threads tthread delphi windows

Windows and message handling. Part 2
Previous article is a theoretical introduction into windows and message handling. Now let's look at the example.<br> Let's take an example from Client Message Handling article and rework it using windows and messages.
thread threads tthread delphi windows

Using threads Part I
How to enhance the program by using threads? How to make an existing program multithreaded? Borland Delphi makes writing multi-threaded applications easier. This article touches upon the following: What are threads. Why to use threads. What support does the VCL provide. Creating TThread class descendant is also discussed
delphi vcl process thread programming

More collections. Part 1.
In the previous article, we looked at the powerful VCL object - TCollection. Now I want to show you streaming capabilities of TCollection. And more, we'll create our own VCL component.
thread threads tthread delphi windows

RTTI Part 5. Summary.
RTTI is undocumented in Delphi 3,Delphi 4, Delphi 5 as well as in any version of C++ Builder. There are two places where you can find information about RTTI - typinfo.pas source file, which is located in X:\delphi\Source\VCL directory and this article. This article contains a complete listing of RTTI types, functions and procedures.
thread threads tthread delphi windows

Run-time type information. Part 1
This article provides an introduction to run-time type information (RTTI). RTTI is information that Delphi stores in the compiled binary file of your application.
thread threads tthread delphi windows

TThreadComponent
Imagine that your application needs to perform a time-consuming operation (such as an automation server call, saving data to a disk file, exporting data to database server, etc). While your application is busy, user relaxes in the armchair and stupidly looks at display. Is there anyone who likes it? Moreover, Windows do not even redraw an application's form. You already know how to perform operation simultaneously with threads (if not - see previous articles). Now let's look to a TThreadComponent - a native VCL component that allows quick and easy threading. The code is written by me and it was tested in several applications. It is free for Suite101 members!
thread threads tthread delphi windows

The Dining Philosophers Problem.Part 2. TPhilosopher class.
<p>This article starts the detailed program explanation. Now let's look at the philosopher.pas module that defines TPhilosopher class.</p>
5 dining philosopher problem edward


| A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | S | T | U | V | W | X | Y | Z | 0-9 |