sbldehanhan
V2EX  ›  C++

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

  •  
  •   sbldehanhan · Oct 8, 2023 · 2187 views
    This topic created in 990 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   ·   5442 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 141ms · UTC 01:53 · PVG 09:53 · LAX 18:53 · JFK 21:53
    ♥ Do have faith in what you're doing.