Questions tagged [concrt]
2 questions
6
votes
1 answer
Implementing task-local variables for Concurrency Runtime
I'm improving an application (Win64, C++) by making it more asynchronous. I'm using the Concurrency Runtime and it's worked great for me so far.
The application basically executes a number of 'jobs' transforming data. To track what each job does,…

Stefan Boberg
- 61
- 4
4
votes
1 answer
Why do I have the option to *not* call Concurrency::agent::done inside run?
This is in the context of the Microsoft C++ Concurrency API.
There's a class called agent (under Concurrency namespace), and it's basically a state machine you derive and implement pure virtual agent::run.
Now, it is your responsibility to call…

Matthew Reddington
- 1,409
- 3
- 13
- 24