提交 509c4839 编写于 作者: D Derek Parker

Update OSProcessDetails docs for Darwin

上级 b018c6bc
......@@ -18,11 +18,15 @@ import (
sys "golang.org/x/sys/unix"
)
// Darwin specific information.
type OSProcessDetails struct {
task C.mach_port_name_t
portSet C.mach_port_t
exceptionPort C.mach_port_t
notificationPort C.mach_port_t
task C.mach_port_name_t // mach task for the debugged process.
exceptionPort C.mach_port_t // mach port for receiving mach exceptions.
notificationPort C.mach_port_t // mach port for dead name notification (process exit).
// the main port we use, will return messages from both the
// exception and notification ports.
portSet C.mach_port_t
}
// Create and begin debugging a new process. Uses a
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册