mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-14 07:09:23 +02:00
* make infinite a default param
This commit is contained in:
parent
8d42a9df83
commit
576ef5a33d
@ -57,7 +57,7 @@ type
|
|||||||
FHandle : TEventHandle;
|
FHandle : TEventHandle;
|
||||||
FLastError : Integer;
|
FLastError : Integer;
|
||||||
public
|
public
|
||||||
destructor destroy;override;
|
destructor Destroy; override;
|
||||||
property Handle : TEventHandle read FHandle;
|
property Handle : TEventHandle read FHandle;
|
||||||
property LastError : Integer read FLastError;
|
property LastError : Integer read FLastError;
|
||||||
end;
|
end;
|
||||||
@ -71,10 +71,10 @@ type
|
|||||||
AManualReset,InitialState : Boolean;const Name : string;
|
AManualReset,InitialState : Boolean;const Name : string;
|
||||||
UseComWait:boolean=false);
|
UseComWait:boolean=false);
|
||||||
constructor Create(UseComWait : Boolean=false);
|
constructor Create(UseComWait : Boolean=false);
|
||||||
destructor destroy; override;
|
destructor Destroy; override;
|
||||||
procedure ResetEvent;
|
procedure ResetEvent;
|
||||||
procedure SetEvent;
|
procedure SetEvent;
|
||||||
function WaitFor(Timeout : Cardinal) : TWaitResult;
|
function WaitFor(Timeout : Cardinal=INFINITE) : TWaitResult;
|
||||||
Property ManualReset : Boolean read FManualReset;
|
Property ManualReset : Boolean read FManualReset;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user