Closed magicant closed 2 months ago
The changes enhance asynchronous operations in the yash-env
project by refactoring the SharedSystem
methods into SelectSystem
and introducing helper structs (AsyncIo
, AsyncTime
, AsyncSignal
). It now allows non-mutable references for operations, covering asynchronous I/O, time management, and signal handling, improving modularity and maintainability.
File(s) | Summary |
---|---|
.../CHANGELOG.md |
Updated to reflect allowing SharedSystem methods with non-mutable references and other refactoring details. |
.../system.rs |
Added new modules, removed SharedSystem , integrated its methods into SelectSystem , and introduced helper structs. |
.../system/select.rs |
Introduced SelectSystem along with related structs (AsyncIo , AsyncTime , AsyncSignal ) and their methods. |
Out of the code where logic streams,
Systems refactored with async dreams.
From shared to select, they elegantly flow,
In IO and time, their prowess will show.
A rabbit’s whisker guides these lines,
Through changes vast, the project shines.
🐇✨
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
Summary by CodeRabbit
New Features
SelectSystem
for asynchronous I/O, signal handling, and timers coordination.AsyncIo
,AsyncTime
, andAsyncSignal
.Bug Fixes
Refactor
SharedSystem
methods intoSelectSystem
.Tests