summaryrefslogtreecommitdiff
path: root/libraries
diff options
context:
space:
mode:
authorAndreas Klebinger <klebinger.andreas@gmx.at>2020-06-22 19:20:54 +0200
committerBen Gamari <ben@smart-cactus.org>2020-07-15 16:41:04 -0400
commit62dd5a7309f273b5bb7d6ab44a1d2745010c13a0 (patch)
treea1865e2006dd7b79363a1d3bce9cceebd3693b62 /libraries
parent9f39fb14997f1aa3768c89bb8e83c6addc705d92 (diff)
downloadhaskell-62dd5a7309f273b5bb7d6ab44a1d2745010c13a0.tar.gz
winio: Name Haskell/OS I/O Manager explicitly in Note
Diffstat (limited to 'libraries')
-rw-r--r--libraries/base/GHC/Event/Windows/FFI.hsc8
1 files changed, 4 insertions, 4 deletions
diff --git a/libraries/base/GHC/Event/Windows/FFI.hsc b/libraries/base/GHC/Event/Windows/FFI.hsc
index 02bac48a62..b9c766c977 100644
--- a/libraries/base/GHC/Event/Windows/FFI.hsc
+++ b/libraries/base/GHC/Event/Windows/FFI.hsc
@@ -157,13 +157,13 @@ foreign import WINDOWS_CCONV safe "windows.h GetQueuedCompletionStatusEx"
-- 4.) When a thread calls this method it is associated with the I/O manager's
-- worker threads pool. You should always use dedicated threads for this
-- since the OS I/O manager will now monitor the threads. If the thread
--- becomes blocked for whatever reason, the I/O manager will wake up
+-- becomes blocked for whatever reason, the Haskell I/O manager will wake up
-- another threads from it's pool to service the remaining results.
-- A new thread will also be woken up from the pool when the previous thread
-- is busy servicing requests and new requests have finished. For this
--- reason the I/O manager multiplexes I/O operations from N haskell threads
--- into 1 completion port, which is serviced by M native threads in an
--- asynchronous method. This allows it to scale efficiently.
+-- reason the Haskell I/O manager multiplexes I/O operations from N haskell
+-- threads into 1 completion port, which is serviced by M native threads in
+-- an asynchronous method. This allows it to scale efficiently.
getQueuedCompletionStatusEx :: IOCP
-> A.Array OVERLAPPED_ENTRY
-> DWORD -- ^ Timeout in milliseconds (or