3.4. Stitching it all together

The "path, scheme, resource" model in vortexOS serves as a unified interface designed for efficient inter-process communication. Paths function as resource descriptors, while schemes represent different resource types managed by scheme managers.

A simple, rough diagram of this concept would look like this:

             /
             |                                                          +=========+
             |                                                          | Program |
             |                                                          +=========+
             |               +--------------------------------------+      ^   | write
             |               |                                      |      |   |
  User space <  +---- Path -----+                                   | read |   v
             |  | +-----------+ |       open    +---------+  open   |   +----------+
             |  | |  Scheme   |-|---+  +------->| Scheme  |------------>| Resource |
             |  | +-----------+ |   |  |        +---------+             +----------+
             |  | +-----------+ |   |  |
             |  | | Reference | |   |  |
             |  | +-----------+ |   |  |
             \  +---------------+   |  |
                            resolve |  |
----------------------------------------------------------------------------------------
             /                      |  |
             |                      v  |
             |                 +=========+
Kernel space <                 | Resolve |
             |                 +=========+
             \

Last updated