Skip to content

Commit 0746dd3

Browse files
authored
Fix mistake in BotR Threading section (#104183)
Fixes #79248
1 parent 7f7bb7b commit 0746dd3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/design/coreclr/botr/threading.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ If there is room on the object header, Monitor stores the managed thread ID of t
142142

143143
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.
144144

145-
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.
145+
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.
146146

147147
Synchronization: Native
148148
=======================

0 commit comments

Comments
 (0)