Skip to content

Commit

Permalink
Added docs to associateWithIOCompletionPort
Browse files Browse the repository at this point in the history
  • Loading branch information
coot committed Feb 3, 2020
1 parent a379f21 commit 715e86e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Win32-network/src/System/Win32/Async/IOManager.hs
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,9 @@ createIOCompletionPort concurrentThreads
foreign import ccall unsafe "windows.h CreateIoCompletionPort"
c_CreateIoCompletionPort :: HANDLE -> HANDLE -> Ptr () -> DWORD -> IO HANDLE

-- | Associate with I/O completion port. This can be used multiple times on
-- a file descriptor.
--
associateWithIOCompletionPort :: Either HANDLE Socket
-> IOCompletionPort
-> IO ()
Expand Down

0 comments on commit 715e86e

Please sign in to comment.