RAD Studio VCL Reference
|
Attempts to acquire a lock on the mutex.
procedure Acquire; override;
virtual __fastcall Acquire();
Call Acquire from the thread that needs to use a shared resource.
The Acquire method waits until the mutex becomes free, and then acquires an exclusive lock. This blocks all other threads from acquiring the mutex. Later, calling the Release method will make the mutex available for other threads to acquire.
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
|
What do you think about this topic? Send feedback!
|