summaryrefslogtreecommitdiff
path: root/libraries/base/GHC/Event/Windows
diff options
context:
space:
mode:
authorEric Lindblad <lindblad@gmx.us>2022-07-17 15:18:04 -0500
committerMarge Bot <ben+marge-bot@smart-cactus.org>2022-07-18 08:05:27 -0400
commitaf6731a40782b418947d376a09fd605111dfea2a (patch)
tree92bec7177bdc4e52713e019684ad0ca43b5e50e1 /libraries/base/GHC/Event/Windows
parent19e7cac99d7cbbba4ff9aa42f6877daa81f197d0 (diff)
downloadhaskell-af6731a40782b418947d376a09fd605111dfea2a.tar.gz
typos
Diffstat (limited to 'libraries/base/GHC/Event/Windows')
-rw-r--r--libraries/base/GHC/Event/Windows/FFI.hsc6
1 files changed, 3 insertions, 3 deletions
diff --git a/libraries/base/GHC/Event/Windows/FFI.hsc b/libraries/base/GHC/Event/Windows/FFI.hsc
index 1705644b74..552b2008b7 100644
--- a/libraries/base/GHC/Event/Windows/FFI.hsc
+++ b/libraries/base/GHC/Event/Windows/FFI.hsc
@@ -263,7 +263,7 @@ instance Storable CompletionData where
-- | Tag type for @LPOVERLAPPED@.
data OVERLAPPED
--- | Tag type for the extended version of @OVERLAPPED@ containg some book
+-- | Tag type for the extended version of @OVERLAPPED@ containing some book
-- keeping information.
data HASKELL_OVERLAPPED
@@ -305,7 +305,7 @@ instance Storable OVERLAPPED_ENTRY where
-- | Allocate a new
-- <http://msdn.microsoft.com/en-us/library/windows/desktop/ms684342%28v=vs.85%29.aspx
-- OVERLAPPED> structure on the unmanaged heap. This also zeros the memory to
--- prevent the values inside the struct to be incorrectlt interpreted as data
+-- prevent the values inside the struct to be incorrectly interpreted as data
-- payload.
--
-- We extend the overlapped structure with some extra book keeping information
@@ -361,7 +361,7 @@ pokeEventOverlapped lpol event = do
-- [2] https://docs.microsoft.com/en-us/windows/win32/sync/synchronization-and-overlapped-input-and-output
--
-- As such we need to annotate all NativeHandles with a Boolean to indicate
--- wether it's an asynchronous handle or not.
+-- whether it's an asynchronous handle or not.
-- This allows us to manually wait for the completion instead of relying
-- on the I/O system to do the right thing. As we have been using the
-- buffers in async mode we may not have moved the file pointer on the kernel