Closed NCrashed closed 4 years ago
Oops, sorry I opened the PR and forgot to comment on it.
Unfortunately I can't take the dependency to Vector
as this would transitively make Vector
a bootstrapping library for GHC itself.
However looking at the usages of it, I don't see why you need it. Instead of Vector HANDLE
you can just have [HANDLE]
. I wouldn't mind Ptr HANDLE
either if you don't want to force a representation.
I decided to use [HANDLE]
. One can with ease make own helper for vector with raw C binding.
Awesome, thanks a lot!
I needed WinAPI part for system wide events for process communication.
Description
The PR adds basic bindings for event creation, triggering and waiting/listening on them. Controversial change is that
waitForMultipleObjects
requiresvector
forData.Vector.Storable
for handy arrays ofHANDLE
.Motivation and Context
The package completely missing bindings for events.
Types of changes
vector
Checklist:
Win32.cabal
.