RAD Studio VCL Reference
|
Drops the lock on the specified object and puts the calling thread in the waiting queue for a specified amount of time.
class function Wait(AObject: TObject; Timeout: Cardinal): Boolean; overload; static;
static __fastcall Boolean Wait(TObject * AObject, unsigned Timeout);
Use Wait to drop the lock on the specified object and also to put the calling thread in the waiting queue for the amount of time specified in the Timeout parameter. Hence, the calling thread is blocked until it is again able to lock AObject.
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
|
What do you think about this topic? Send feedback!
|