StackOverflow Questions for Tag: std-future

devilsEye
devilsEye

Reputation: 1

How many std::future objects can exist in a system at a time simultaneously.?

Score: 0

Views: 521

Answers: 1

Read More
YuHuanTin
YuHuanTin

Reputation: 1

The function called by std::async is not executed immediately?

Score: 0

Views: 110

Answers: 0

Read More
sullyt
sullyt

Reputation: 33

Boost asio:async_read() using boost::asio::use_future

Score: 2

Views: 811

Answers: 1

Read More
Oliver Karger
Oliver Karger

Reputation: 105

c++ No instance of overloaded function "std::async" matches argument list

Score: 0

Views: 664

Answers: 1

Read More
b2mb0e
b2mb0e

Reputation: 31

Why calling future.get() retrieved from async leads to unexpected output order

Score: 0

Views: 218

Answers: 2

Read More
John
John

Reputation: 3484

Is there any potential problem in the code snippet below if `std::future::get()` would not be called?

Score: 0

Views: 58

Answers: 1

Read More
TestUser
TestUser

Reputation: 967

Why the packaged task is terminating after throwing system error?

Score: 0

Views: 45

Answers: 0

Read More
TestUser
TestUser

Reputation: 967

Can code flow move ahead before future get method returns?

Score: 3

Views: 86

Answers: 0

Read More
MHebes
MHebes

Reputation: 3197

C++ cannot call set_value for promise move-captured in a lambda?

Score: 4

Views: 1043

Answers: 1

Read More
rightaway717
rightaway717

Reputation: 2831

Not all std::packaged_tasks executed when inside std::async calls

Score: 0

Views: 64

Answers: 1

Read More
DHT201703
DHT201703

Reputation: 11

C++11 getting std::future data updated from a thread

Score: 1

Views: 369

Answers: 0

Read More
Alex Frankland
Alex Frankland

Reputation: 15

How do you properly Await/Await Async in C++?

Score: 1

Views: 283

Answers: 0

Read More
Symlink
Symlink

Reputation: 454

C++ storing std::future form std::async in vector and wating for all

Score: 1

Views: 1447

Answers: 1

Read More
user2183336
user2183336

Reputation: 655

std::future get() blocks when wait_for() status is ready and wait() returns

Score: 3

Views: 1146

Answers: 1

Read More
The White Cloud
The White Cloud

Reputation: 189

Why am I getting a "read access violation" exception thrown while accessing value from std::future?

Score: 0

Views: 479

Answers: 0

Read More
Seraph
Seraph

Reputation: 43

How to use std future and async with threading in a for loop with a shared resource as param?

Score: 2

Views: 2164

Answers: 1

Read More
coda
coda

Reputation: 2467

Gracefully exit a program containing std::async C++

Score: 0

Views: 361

Answers: 0

Read More
coda
coda

Reputation: 2467

error: no member named 'async' in namespace 'std'

Score: 4

Views: 2861

Answers: 1

Read More
Steven Anderson
Steven Anderson

Reputation: 75

Why am I Getting error in async, future in C++

Score: 0

Views: 852

Answers: 1

Read More
einpoklum
einpoklum

Reputation: 131475

Lazy evaluation in C++14/17 - just lambdas or also futures etc.?

Score: 15

Views: 6153

Answers: 3

Read More
PreviousPage 2Next