Commit graph

27 commits

Author SHA1 Message Date
059b2b1539 Use null util::function instead of a stop_execution exception when stopping threadpool threads to prevent exceptions from triggering when debugging 2025-09-04 00:55:04 +03:00
8784938e97 Make async::future shared & support multiple .then() calls 2025-09-03 20:20:16 +03:00
6fc476f1f0 Support building without Boost.Stacktrace 2025-01-26 14:45:43 +03:00
85d7a0ca33 Huge refactor: use util::exception everywhere instead of std exceptions 2023-08-06 18:33:07 +03:00
dd12ad9477 Add special handling for util::exception in various places to print stacktrace info 2023-08-06 12:53:03 +03:00
8425900fe0 Implement synchronous implementation of async::executor 2022-12-26 14:06:39 +03:00
9600bd96d5 Add async::threadpool::thread_count() 2022-12-26 14:06:23 +03:00
512ec6df93 Remove '#' from threadpool thread names 2022-08-07 11:41:37 +03:00
e62fc51052 Reimplement async::future::ready without a wait 2022-07-04 18:22:22 +03:00
11614b3c1b Support max event count in async::event_loop::pump 2022-02-05 12:37:22 +03:00
e5c806a198 Async future::then type fix 2021-07-02 15:18:38 +03:00
5eb5174472 Make future::get return the object by value 2021-04-27 23:12:59 +03:00
9d29e3a656 Fix async::futures: notify cv on value set 2021-03-07 00:13:02 +03:00
104ecb528a Fix task cancelling 2021-03-04 20:30:12 +03:00
8091183375 Fix future::then 2021-03-04 20:30:02 +03:00
08d71a8496 Add async::make_ready_future 2021-03-04 19:45:30 +03:00
1bfbaaa840 Support async::future::then 2021-03-04 18:33:58 +03:00
dd32ab00d3 Huge async rewrite: std-like future, promise & packaged task 2021-03-04 18:33:40 +03:00
9cba2d1c16 Add thread unregistering in log 2021-03-04 14:29:39 +03:00
ef34071748 Reimplement async::future without std::future 2021-03-04 11:02:11 +03:00
cec776df8a Move async::executor::clock to async::clock 2021-02-20 22:09:48 +03:00
f0611657ac Generate empty source file for libraries with no sources 2021-01-18 18:10:35 +03:00
e0afe8b935 Implement async::executor::wait_all 2021-01-15 17:59:46 +03:00
148dc60d40 Support pumping non-delayed events in async::event_loop 2020-11-29 12:30:40 +03:00
a1cf646633 Rename movable_function -> function & better SSO 2020-11-22 12:40:26 +03:00
0f1479abbd Implement event_loop using synchronyzed_queue 2020-11-21 23:29:39 +03:00
0d64e86ffe Add async library & move stuff from util to async 2020-11-21 16:27:38 +03:00