Commit d6ff8928 authored by Ben Gamari's avatar Ben Gamari 🐢

Add documentation for fields of ProcessHandle__

parent 3fb6d99e
......@@ -186,8 +186,15 @@ data StdStream
completion. This requires two handles. A process job handle and
a events handle to monitor.
-}
data ProcessHandle__ = OpenHandle PHANDLE
| OpenExtHandle PHANDLE PHANDLE PHANDLE
data ProcessHandle__ = OpenHandle { phdlProcessHandle :: PHANDLE }
| OpenExtHandle { phdlProcessHandle :: PHANDLE
-- ^ the process
, phdlJobHandle :: PHANDLE
-- ^ the job containing the process and
-- its subprocesses
, phdlIocpHandle :: PHANDLE
-- ^ the job's IO Completion Port
}
| ClosedHandle ExitCode
data ProcessHandle
= ProcessHandle { phandle :: !(MVar ProcessHandle__)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment