RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
THandleObject Class

THandleObject is the base class for all thread synchronization objects that use a handle.

Pascal
THandleObject = class(TSynchroObject);
C++
class THandleObject : public TSynchroObject;

SyncObjs

Use THandleObject as a base class when defining an object that uses a handle when coordinating the execution of different threads in a multi-threaded application. Handled synchronization objects include event objects that allow threads to signal when critical events have occurred. 

Do not create instances of THandleObject. THandleObject is a base class that introduces properties for managing the handle of a synchronization object but does not provide a mechanism for acquiring that handle. Descendants of THandleObject must acquire the appropriate type of handle. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!