sbldehanhan
V2EX  ›  C++

C++如何利用 future 和 promise 获取多个线程的返回值?

  •  
  •   sbldehanhan · Oct 8, 2023 · 2060 views
    This topic created in 948 days ago, the information mentioned may be changed or developed.

    一个线程一个 future 吗?

    2 replies    2023-11-19 17:16:00 +08:00
    emSaVya
        1
    emSaVya  
       Oct 8, 2023
    thread pool/collectAll ?
    wgm001
        2
    wgm001  
       Nov 19, 2023
    这玩意有人用?
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   5775 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 269ms · UTC 06:29 · PVG 14:29 · LAX 23:29 · JFK 02:29
    ♥ Do have faith in what you're doing.