RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TMutex.Acquire Method

Provides the interface for a method that devotes the synchronization object to a thread.

Pascal
procedure Acquire; override;
C++
virtual __fastcall Acquire();

Call Acquire from the thread that needs to use the synchronization object. The Acquire method for TSynchroObject does nothing other than provide the interface for a method that can start the synchronization object working on behalf of the calling thread. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!