sbldehanhan
V2EX  ›  C++

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

  •  
  •   sbldehanhan · Oct 8, 2023 · 2141 views
    This topic created in 972 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   ·   2716 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 30ms · UTC 12:13 · PVG 20:13 · LAX 05:13 · JFK 08:13
    ♥ Do have faith in what you're doing.