1
0
Fork 0
mirror of https://github.com/VSadov/Satori.git synced 2025-06-09 17:44:48 +09:00

Fix mistake in BotR Threading section (#104183)

Fixes #79248
This commit is contained in:
Jan Kotas 2024-06-28 18:56:12 -07:00 committed by GitHub
parent 7f7bb7b153
commit 0746dd3d07
Signed by: github
GPG key ID: B5690EEEBB952194

View file

@ -142,7 +142,7 @@ If there is room on the object header, Monitor stores the managed thread ID of t
If the lock cannot be acquired in this manner after some number of spins, or the object header is already being used for other purposes, a sync block must be created for the object. This has additional data, including an event that can be used to block the current thread, allowing us to stop spinning and efficiently wait for the lock to be released.
An object that is used as a condition variable (via Monitor.Wait and Monitor.Pulse) must always be inflated, as there is not enough room in the sync block to hold the required state.
An object that is used as a condition variable (via Monitor.Wait and Monitor.Pulse) must always be inflated, as there is not enough room in the object header to hold the required state.
Synchronization: Native
=======================