Data.DBXPlatform.TDBXSemaphore.Acquire
[–] Properties | |
---|---|
Type: function | |
Visibility: public | |
Source: Data.DBXPlatform.pas Data.DBXPlatform.hpp
| |
Unit: Data.DBXPlatform | |
Parent: TDBXSemaphore |
Delphi
function Acquire(Timeout: Int64): Boolean; reintroduce;
C++
HIDESBASE bool __fastcall Acquire(__int64 Timeout);
Description
Attempts to acquire a lock on the dbExpress semaphore.
Call Acquire from the thread that needs to use some of a shared resource's units. Acquire returns True if, after the wait time, the dbExpress semaphore is signaled, False otherwise.