Defined in:Releases shared access to a lock.
ReleaseSharedfunction relinquishes shared access to a lock that was previously acquired using the
Lock::AcquireSharedfunction. Each previous call to the
Lock::AcquireSharedfunction must be balanced with a call to the
ReleaseSharedfunction. A lock cannot be acquired with exclusive access until all threads have released shared access to the lock.