View Revisions: Issue #4617
[ Back to Issue ]
Summary | 0004617: pr-downloader api | ||
---|---|---|---|
Revision | 2014-11-13 03:13 by abma | ||
Description | for async: http://en.cppreference.com/w/cpp/thread/async |
||
Revision | 2014-11-13 03:16 by abma | ||
Description | for async: http://en.cppreference.com/w/cpp/thread/async for comm: std::future https://solarianprogrammer.com/2012/10/17/cpp-11-async-tutorial/ |
||
Revision | 2014-11-13 03:13 by abma | ||
Additional Information | |||
Revision | 2014-11-13 03:17 by abma | ||
Additional Information | use namespaces! | ||
Revision | 2014-11-13 03:18 by abma | ||
Additional Information | use namespaces! (03:18:02) [LCC]jK: std::future (03:18:26) [LCC]jK: The template function async runs the function f asynchronously (potentially in a separate thread) and returns a std::future that will eventually hold the result of that function call. (03:19:23) abma_irc: ok, i'll give that a try, thx! (03:19:25) [LCC]jK: so the lua function first returns the result of DownloadSearch() (03:20:14) [LCC]jK: and later lua calls a Spring....IsFinished() that checks if the std::future is ready and if so it returns the result |
||
Revision | 2014-11-13 03:18 by abma | ||
Additional Information | use namespaces! (03:18:02) [LCC]jK: std::future (03:18:26) [LCC]jK: The template function async runs the function f asynchronously (potentially in a separate thread) and returns a std::future that will eventually hold the result of that function call. (03:19:25) [LCC]jK: so the lua function first returns the result of DownloadSearch() (03:20:14) [LCC]jK: and later lua calls a Spring....IsFinished() that checks if the std::future is ready and if so it returns the result |