///! Entry point to a new tipc user space API. The goal of this module are three folds: /// 1. the ability to share the handleset with the event loop as well as a /// service /// 2. removing the dispatcher(present in the legacy Rust tipc library) from the event pipeline /// 3. make the user space constructs thread safe, so that they can be shared with RPC binder /// services which has the thread safety requirement /// /// A TA initialization code may use this API in the following manner to get the advantage of /// the aforementioned features. /// 1. Create a `HandleSetWrapper` that manages a particular type of handle objects in an instance /// of a `RawHandleSet`. /// 2. Create a tipc service that implements a given `*Service` trait /// 3. Create a port type handle object containing a reference to the service and register it in /// the `HandleSetWrapper`. /// 4. Give a reference of the `HandleSetWrapper` to the service, if the service needs to /// manipulate the `HandleSetWrapper`. /// 5. Create the `EventLoop` with a reference to the HandleSetWrapper and run the `EventLoop`. /// /// Note: This crate currently accommodates the services that implement the`UnbufferredService` /// trait only. It is a future work to implement a common `HandleSetWrapper` that can accommodate /// the services that implement the `Service` trait. mod event_loop; mod handle_set_wrapper; mod raw_handle_set; mod service_handle;
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.