Skip to content

Commit 7a0cc32

Browse files
SDL3/SDL_LockProperties: clariify mutex pattern, not writer-readers
Live page is here: https://wiki.libsdl.org/SDL3/SDL_LockProperties
1 parent 5edaa76 commit 7a0cc32

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

SDL3/SDL_LockProperties.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@ Obtain a multi-threaded lock for these properties. Other threads will wait
2929
while trying to lock these properties until they are unlocked. Properties
3030
must be unlocked before they are destroyed.
3131
32-
The lock is automatically taken when setting individual properties, this
33-
function is only needed when you want to set several properties atomically
32+
The lock is automatically taken when getting and setting individual properties; this
33+
function is only needed when you want to get and/or set several properties atomically
3434
or want to guarantee that properties being queried aren't freed in another
3535
thread.
3636

0 commit comments

Comments
 (0)