C4 Engine
C4 Engine API Documentation

Lock::ReleaseShared

Defined in:  C4Threads.h
Releases shared access to a lock.
Prototype

void ReleaseShared(void);

Description
The ReleaseShared function relinquishes shared access to a lock that was previously acquired using the Lock::AcquireShared function. Each previous call to the Lock::AcquireShared function must be balanced with a call to the ReleaseShared function. A lock cannot be acquired with exclusive access until all threads have released shared access to the lock.
See Also

Lock::AcquireShared

Lock::AcquireExclusive

Lock::ReleaseExclusive