书栈网 · BookStack 本次搜索耗时 0.035 秒,为您找到 355 个相关结果.
  • Wakers

    598 2020-12-25 《Tokio v1.0 Tutorial》
    Wakers Updating Delay Updating Mini Tokio Wakers Wakers are the missing piece. This is the system by which a resource is able to notify the waiting task that the resource ha...
  • Glossary

    490 2021-05-16 《Tokio v1.6 Tutorial》
    Glossary Asynchronous Concurrency and parallelism Future Executor/scheduler Runtime Task Spawning Async block Async function Yielding Blocking Stream Channel Backpress...
  • Return value

    392 2020-12-25 《Tokio v1.0 Tutorial》
    Return value Return value The tokio::select! macro returns the result of the evaluated <handler> expression. async fn computation1 () -> String { // .. computat...
  • Runtime model

    Runtime model Non-blocking execution Cooperative scheduling Task system task::current and Task::notify Async::NotReady Yielding Executors Resources, drivers, and runtimes ...
  • Async in depth

    493 2021-05-16 《Tokio v1.6 Tutorial》
    Async in depth Futures Implementing Future Async fn as a Future Executors Mini Tokio Wakers Updating Delay Updating Mini Tokio Summary A few loose ends Notify utility ...
  • Backpressure and bounded channels

    588 2020-12-25 《Tokio v1.0 Tutorial》
    Backpressure and bounded channels Backpressure and bounded channels Whenever concurrency or queuing is introduced, it is important to ensure that the queueing is bounded and th...
  • 运行时模型

    运行时模型 非阻塞执行 协作调度 任务系统 task :: current和Task :: notify Async :: NotReady Yielding executor 资源,drivers和运行时 Future 运行时模型 使用Tokio编写的应用程序组织在大量小的非阻塞任务中。 Tokio任务类似于goroutine 或...
  • Glossary

    624 2020-12-25 《Tokio v1.0 Tutorial》
    Glossary Asynchronous Concurrency and parallelism Future Executor/scheduler Runtime Task Spawning Async block Async function Yielding Blocking Stream Channel Backpress...
  • Tasks

    Tasks Message Passing Task Notification Tasks Tasks are the application’s “unit of logic”. They are similar to Go’sgoroutine and Erlang’s process , but asynchronous. In o...
  • Combinators

    Combinators Building blocks map and_then Essential combinators Concrete futures IntoFuture Adapters When to use combinators Functional style Returning futures Use impl Fut...