[commit: base] windows-iocp: Add GHC.Event.Windows (3f5ad30)
Joey Adams
joeyadams at galois.com
Mon Nov 19 05:13:02 CET 2012
Repository : ssh://darcs.haskell.org//srv/darcs/packages/base
On branch : windows-iocp
http://hackage.haskell.org/trac/ghc/changeset/3f5ad3084e1a183aa22b23524c30244bd39f3038
>---------------------------------------------------------------
commit 3f5ad3084e1a183aa22b23524c30244bd39f3038
Author: Joey Adams <joeyadams3.14159 at gmail.com>
Date: Sun Nov 11 18:53:17 2012 -0500
Add GHC.Event.Windows
This is an IO manager for Windows, using IO completion ports.
It is loosely modeled after GHC.Event, and even uses a few of its
components (PSQ, IntMap, Unique).
It is named GHC.Event.Windows, rather than GHC.Event.IOCP, to suggest the
possibility of additional facilities not related to IOCP, such as
RegisterWaitForSingleObject.
GHC/Event/IntMap.hs | 6 +
GHC/Event/Windows.hs | 392 +++++++++++++++++++++++++++++++++++++++++++
GHC/Event/Windows/Clock.hs | 89 ++++++++++
GHC/Event/Windows/FFI.hsc | 262 +++++++++++++++++++++++++++++
GHC/Event/Windows/Thread.hs | 39 +++++
GHC/Event/Windows/Worker.hs | 67 ++++++++
base.cabal | 15 ++
cbits/iocp.c | 66 +++++++
8 files changed, 936 insertions(+), 0 deletions(-)
Diff suppressed because of size. To see it, use:
git show 3f5ad3084e1a183aa22b23524c30244bd39f3038
More information about the Cvs-libraries
mailing list