Structs§
- A wrapper around zircon handles that allows them to be temporarily cloned. These temporary clones can be used with
unblock
below which requires callbacks with static lifetime. This is similar to Arc, except that whilst there are no clones, there is no memory overhead, and there’s no performance overhead to use them just as you would without the wrapper, except for a small overhead when they are dropped. The wrapper ensures that the handle is only dropped when there are no references.
Functions§
- This is similar to fuchsia-async’s unblock except that it used a fixed size thread pool which has the advantage of not making traces difficult to decipher because of many threads being spawned.