Make great things

What I cannot create, I do not understand.

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

2021年3月30日

摘要: red (async) function, blue (sync) function #[tokio::main(flavor = "current_thread")] 令 tokio 只用单线程运行时. Future::poll 在 await 时第一次运行, 然后需要调用 wake() 方法告诉 阅读全文
posted @ 2021-03-30 09:34 wbin91 阅读(72) 评论(0) 推荐(0) 编辑