V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
sbldehanhan
V2EX  ›  C++

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

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