Add a basic IPC setup with Channel Object.

Pass a process a channel endpoint on startup that it will use to
get it's initial capabilities.
This commit is contained in:
Drew Galbraith 2023-06-07 08:24:10 -07:00
parent b79ec07636
commit 81b925eea0
15 changed files with 341 additions and 20 deletions

13
zion/lib/pair.h Normal file
View file

@ -0,0 +1,13 @@
#pragma once
template <typename T, typename U>
class Pair {
public:
Pair(const T& first, const U& second) : first_(first), second_(second) {}
T& first() { return first_; }
U& second() { return second_; }
private:
T first_;
U second_;
};