Skip to content

Commit

Permalink
Update nf-synchapi-tryacquiresrwlockshared.md
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexGuteniev authored Mar 8, 2024
1 parent e485f90 commit 753e266
Showing 1 changed file with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ helpviewer_keywords: ["TryAcquireSRWLockShared","TryAcquireSRWLockShared functio
old-location: base\tryacquiresrwlockshared.htm
tech.root: base
ms.assetid: e7b0c273-c1d4-4a1c-a824-f519fb52ad8f
ms.date: 12/05/2018
ms.date: 8/03/2024
ms.keywords: TryAcquireSRWLockShared, TryAcquireSRWLockShared function, base.tryacquiresrwlockshared, synchapi/TryAcquireSRWLockShared, winbase/TryAcquireSRWLockShared
req.header: synchapi.h
req.include-header: Windows.h
Expand Down Expand Up @@ -72,6 +72,10 @@ If the lock is successfully acquired, the return value is nonzero.

if the current thread could not acquire the lock, the return value is zero.

## -Remarks

Successful acquistition of a slim reader/writer (SRW) lock in shared mode generally permits other thread to acuire the same lock in shared mode, but doesn't guarantee that such acqustition would always succeed. SRW locks may limit its simultaneous shared mode acquistitions for performance reasons.

## -see-also

<a href="/windows/desktop/api/synchapi/nf-synchapi-acquiresrwlockshared">AcquireSRWLockShared</a>
Expand All @@ -82,4 +86,4 @@ if the current thread could not acquire the lock, the return value is zero.



<a href="/windows/desktop/api/synchapi/nf-synchapi-tryacquiresrwlockexclusive">TryAcquireSRWLockExclusive</a>
<a href="/windows/desktop/api/synchapi/nf-synchapi-tryacquiresrwlockexclusive">TryAcquireSRWLockExclusive</a>

0 comments on commit 753e266

Please sign in to comment.