static bool __fastcall Wait(System::TObject * AObject, unsigned int Timeout);
Member Of: TMonitor
Drops the lock on the specified object and puts the calling thread in the waiting queue for a specified amount of time.
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. Therefore, the calling thread is blocked until it is again able to lock AObject.