![]() |
• System Utilities | |||||||||
|
API Links
Developer Links
|
class LockDefined in:
The C4Threads.hLock class encapsulates a shared lock object for multithreaded synchronization.
Definition
Member Functions
Constructor
Description
The Lock class defines a platform-independent shared lock object that can be used for multithreaded synchronization. A lock object can be acquired for exclusive access by a single thread, or it can be acquired for shared access by multiple threads simultaneously. Exclusive access is ordinarily required when a thread is going to write to a shared resource, and shared access is ordinarily sufficient when multiple threads only need to read from a shared resource.
See Also
|