sbldehanhan
V2EX  ›  C++

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

  •  
  •   sbldehanhan · Oct 8, 2023 · 2150 views
    This topic created in 976 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   ·   4565 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 38ms · UTC 10:03 · PVG 18:03 · LAX 03:03 · JFK 06:03
    ♥ Do have faith in what you're doing.