summaryrefslogtreecommitdiff
path: root/rts
diff options
context:
space:
mode:
authorTamar Christina <tamar@zhox.com>2020-06-23 18:15:43 +0100
committerBen Gamari <ben@smart-cactus.org>2020-07-15 16:41:04 -0400
commit67afb03c45cf8a8dc9e51413cf187f36768a5a0b (patch)
treebc06c13e3b0004272d1f434aa34770c818f26f02 /rts
parent2b0b9a08a3412114f568fb26e3d684ccb7092f88 (diff)
downloadhaskell-67afb03c45cf8a8dc9e51413cf187f36768a5a0b.tar.gz
winio: clarify wording on conditional variables.
Diffstat (limited to 'rts')
-rw-r--r--rts/win32/OSThreads.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/rts/win32/OSThreads.c b/rts/win32/OSThreads.c
index 5167ffc105..4701c344a0 100644
--- a/rts/win32/OSThreads.c
+++ b/rts/win32/OSThreads.c
@@ -511,7 +511,8 @@ KernelThreadId kernelThreadId (void)
/* Win32 threads and synchronisation objects */
-/* A Condition is represented by a Win32 Event object;
+/* A Condition is represented by a Win32 Conditional variable which is a
+ * user-mode object and so incurs no context switching overhead.
* a Mutex by a Mutex kernel object.
*/