Kyron Foundation Component Architecture#
Kyron Foundation Component Architecture
|
status: draft
security: YES
safety: QM
|
||||
Kyron Foundation
|
status: valid
security: YES
safety: QM
|
||||
Overview#
Kyron Foundation provides the containers, synchronisation and threading primitives that
Kyron Runtime (comp__kyron_runtime) is built on. It has no own runtime behaviour: every function runs on
the thread of its caller. It builds on the iceoryx2 building-block crates (iceoryx2_bb_*)
for vectors, lock-free structures and memory allocation.
Static Architecture#
Kyron Foundation Static View
|
status: valid
security: YES
safety: QM
|
||||
|
|||||
The component is structured into the following parts.
Part |
Responsibility |
|---|---|
Containers ( |
|
Synchronisation ( |
Atomics and an |
Threading ( |
|
Base and macros ( |
A fast pseudo-random generator (the start index for work stealing) and
|
Prelude ( |
Re-exports the iceoryx2 building blocks (the QNX 8 variants on QNX) and the logging macros. |
Dynamic Architecture#
Task Queue Push, Overflow and Steal
|
status: valid
security: YES
safety: QM
|
||||
How the runtime uses the foundation task queues. Each async worker owns one
The runtime panics on |
|||||
Interfaces#
Kyron Foundation API
|
status: valid
security: NO
safety: QM
|
||||
The public Rust API of |
|||||