Declaration¶
Source position: syncobjs.pp line 136
Inheritance¶
Description¶
THandleObject is an abstract parent class for synchronization classes that need to store an operating system handle. It introduces a property Handle which can be used to store the operating system handle. The handle is in no way manipulated by THandleObject, only storage is provided.
Do not create an instance of THandleObject. It is an abstract class. Recent versions of FPC actually declare the class as abstract.
Properties¶
| Member | Visibility | Description |
|---|---|---|
| Handle read only | public | Handle for this object. |
| LastError read only | public | Last operating system error. |
Methods¶
| Member | Visibility | Description |
|---|---|---|
| Create | public | |
| Destroy | public | Free the instance. |
| WaitFor | public |