2025-07-23 03:31 CEST

View Revisions: Issue #4617

Summary 0004617: pr-downloader api
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
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:17 by abma
Additional Information use namespaces!
Revision 2014-11-13 03:13 by abma
Additional Information