BUPT-OS / RROS

RROS is a dual-kernel OS for satellites or other scenarios that need both real-time and general-purpose abilities. RROS = RTOS (Rust) + Linux (C).
https://bupt-os.github.io/website/
Other
567 stars 40 forks source link

rust: observable factory: add `observable factory` in RROS #28

Closed StevenFryto closed 7 months ago

StevenFryto commented 8 months ago

The observable factory is a key component in event-driven programming within the RROS framework. The observable mechanism is critical for real-time event management, allowing various components within the system to subscribe to and be notified of events in an efficient and timely manner, which is important in real-time applications for ensuring predictable and responsive behavior.
I have implemented basic ioctl, oob_write, and oob_read operations for observableops, so that observable elements can perform basic subscribe, oob_write, and oob_read operations. At the same time, Observable elements are able to update only when subscription information changes.

Richardhongyu commented 8 months ago

@StevenFryto The CI fails.

StevenFryto commented 8 months ago

@StevenFryto The CI fails.

Does this mean I need to run 'make LLVM=1 rustfmt' and resubmit the PR?