Skip to content

feat(xpc): add XPC runtime primitives - #230

Closed
Code-Hex wants to merge 2 commits into
codex/vmnet-guest-testsfrom
codex/vmnet-xpc-runtime
Closed

Code-Hex wants to merge 2 commits into
codex/vmnet-guest-testsfrom
codex/vmnet-xpc-runtime

Conversation

@Code-Hex

Copy link
Copy Markdown
Owner

背景

PR #205 のプロセス間ネットワーク共有に必要な XPC 実装を、vmnet 本体と分けます。元の XPC 関連コミットを選択的に cherry-pick し、最終状態のランタイムだけを集めました。

変更

  • xpc パッケージにオブジェクト、辞書、配列、セッション、リスナーの API を追加します。
  • cgo ハンドルの管理を internal/cgohandler に置きます。

検証

  • go test ./xpc -run '^$' と go test . -run '^$' でコンパイルが成功しました。
  • XPC の動作テストは次の PR に分離します。

PR #229 に依存します。PR #205 からの切り出しです。

Transplant the XPC runtime from PR #205. Cherry-picked the runtime content from 634188f, 9f673da, 4a942c7, and d34115c without committing their vmnet integration or tests. Aligned cgohandler.go, array.go, and object.go with the PR branch final versions after 43fded6. Keep XPC tests and vmnet adapter changes for later slices.
XPC dictionary deletion passes a nil value through objc.Ptr. Carry the guard from PR #205 commit 43fded6.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant