-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Resource system V3 #27
base: master
Are you sure you want to change the base?
Conversation
Signed-off-by: kanpov <[email protected]>
…pdate to hyper-client-sockets 0.6 Signed-off-by: kanpov <[email protected]>
Instead of breaking compilation for most of the PR's development like most other refactors/rewrites inside fctools, I'm keeping V2 under |
Signed-off-by: kanpov <[email protected]>
…optimizations Signed-off-by: kanpov <[email protected]>
…by internally cloning and moving in the sender (removes await point in resource_system_main_task)
…d make join a wrapper for it
…-s and 1 once-lock Signed-off-by: kanpov <[email protected]>
Signed-off-by: kanpov <[email protected]>
Signed-off-by: kanpov <[email protected]>
… minimal contention. Better solution is desired Signed-off-by: kanpov <[email protected]>
…to prevent it from blocking Signed-off-by: kanpov <[email protected]>
Signed-off-by: kanpov <[email protected]>
…e a closed channel after shutdown as disposed Signed-off-by: kanpov <[email protected]>
V3, without being applied outside of its module to the VMM and VM layers yet, mostly (maybe?) works already. Locking and channel hell were overcome to allow all Resource methods to be &self and for Resource's to be cloneable cheap-ishly. |
Signed-off-by: kanpov <[email protected]>
…the poll loop Signed-off-by: kanpov <[email protected]>
Signed-off-by: kanpov <[email protected]>
Signed-off-by: kanpov <[email protected]>
…tions are unimplemented Signed-off-by: kanpov <[email protected]>
Signed-off-by: kanpov <[email protected]>
…d vm.rs test code to compile, though the tests are still failing
Huge PR only gets larger unfortunately, so no ETA on this getting finished and merged. |
Signed-off-by: kanpov <[email protected]>
Signed-off-by: kanpov <[email protected]>
Rough idea: central resource system performs work on a dedicated set of tasks spawned on the runtime, while cloneable handles to resources communicate with the system via an MPSC channel for requests and a broadcast channel for responses.