Commit Graph

53 Commits

Author SHA1 Message Date
levlam
942e5fc613 Add LambdaPromise debug. 2024-01-20 12:54:17 +03:00
levlam
d963044eb9 Update copyright year. 2024-01-01 03:07:21 +03:00
levlam
c0911577f7 Use empty name for unused move constructor/assignment parameter. 2023-05-05 13:51:19 +03:00
levlam
ee0922d23d Remove Scheduler::init(). 2023-03-27 18:08:06 +03:00
levlam
7055176e89 Remove ActorSendType::LaterWeak. 2023-03-21 13:01:24 +03:00
levlam
7a233f25eb Simplify Scheduler::send_impl. 2023-01-11 13:27:53 +03:00
levlam
62720bde3c Remove now unneeded wait_generation. 2023-01-11 12:49:04 +03:00
levlam
cf1984844b Update copyright year. 2023-01-01 00:28:08 +03:00
levlam
fd8c7534a4 Inline yield_scheduler. 2022-10-01 01:30:39 +03:00
levlam
8f433070df Minor fixes. 2022-08-14 15:04:08 +03:00
levlam
6283dce8b7 Remove superflous inline specifiers. 2022-07-27 11:41:16 +03:00
levlam
4cf1e02479 Add multiarg version of Scheduler::destroy_on_scheduler. 2022-07-22 21:21:30 +03:00
levlam
51513f1780 Add non-template Scheduler::destroy_on_scheduler_impl. 2022-07-20 13:57:05 +03:00
levlam
0f87447ffc Asynchronously destroy some big data storages. 2022-07-20 13:40:14 +03:00
levlam
8085779cdc Update copyright year. 2022-01-01 03:35:39 +03:00
levlam
1bb9b7dfa9 Update clang-format to 13.0.1. 2021-12-10 00:27:13 +03:00
levlam
ca7947cf44 Minor improvements. 2021-11-04 12:46:08 +03:00
levlam
4266841b64 Simplify logging in tdactor. 2021-11-03 16:53:14 +03:00
levlam
94172ee9ae Fix logging on actor creation/destroying. 2021-11-03 16:46:01 +03:00
levlam
6a5b0506e5 Split Actor.is_lite to need_context and need_start_up. 2021-11-03 15:10:43 +03:00
levlam
071d50414d Move Scheduler::ServiceActor::set_queue to cpp. 2021-10-25 08:33:14 +03:00
levlam
44a186c7c1 Minor improvements. 2021-10-18 19:26:14 +03:00
levlam
bbae7be409 Respect timeout in run_events. 2021-10-06 17:16:23 +03:00
levlam
5349e63c2b Add Timeout::get_timeout. 2021-08-15 11:15:14 +03:00
levlam
52c1da0a70 Update copyright year. 2021-01-01 15:57:46 +03:00
levlam
983119ada3 Unify begin/end usages.
GitOrigin-RevId: 422dd5dbfdab7240818bbc35a7c554effa097378
2020-08-09 04:01:30 +03:00
levlam
2311809493 Inline Scheduler::do_custom_event.
GitOrigin-RevId: 3bd169ee05552c173e32276891dc659614a836cf
2020-07-19 20:46:58 +03:00
levlam
340c98772d Improve Event logging.
GitOrigin-RevId: 67a3e5f82f972b4d6b40e07215a28b6edea005c3
2020-07-19 20:15:06 +03:00
levlam
a12de1b5b0 Do not allow wait_generation to became zero to avoid false positives.
GitOrigin-RevId: 8407cb694003ce92a359c769c934c75726c96b9a
2020-04-11 22:30:23 +03:00
levlam
92df8f9827 Remove unneeded brackets.
GitOrigin-RevId: 0b8a2ae21d28e6c276db8b45ffb4d127800f5d73
2020-02-26 18:15:19 +03:00
levlam
80c35676a2 Update copyright year.
GitOrigin-RevId: 09afb551b6e637dc69739fa735b0051a38b9e14c
2020-01-01 04:23:48 +03:00
levlam
0b6c1d226f Update clag-format to the latest (190926/r372920) version.
GitOrigin-RevId: 7861ae8ad28eb1f6a06ff3c6f56eff3f67b1d24c
2019-09-28 05:14:21 +03:00
levlam
21dee3b1d9 Fix g++9 warnings.
GitOrigin-RevId: 5f0565bfaefff9bf41f372f2f249489650985fae
2019-05-01 20:03:27 +03:00
levlam
eb24c3baa4 Return back formatting.
GitOrigin-RevId: bf312eacf255e8bae70a60d31d5a4f62063814af
2019-04-29 22:26:03 +03:00
Arseny Smirnov
f471746973 Actors: add debug
GitOrigin-RevId: 5278695863219b3645cab477914a690430123c1b
2019-04-29 21:00:36 +03:00
levlam
93494cf048 Fix log messages style.
GitOrigin-RevId: f99e2e838220826d3dea7fdc33c43ac9918a5efd
2019-02-21 18:58:20 +03:00
levlam
dd398c5968 Fix formatting.
GitOrigin-RevId: 144f91ea1ad0a1f9a8e5e08c4c10f238b066be47
2019-02-13 00:28:47 +03:00
levlam
9b42166c68 Explicitly include common.h.
GitOrigin-RevId: 5ae32c18d0ff18aac36334b494ea526ce7da4a9a
2019-02-13 00:26:36 +03:00
Arseny Smirnov
20bfcaa979 Use LOG_CHECK where it is necessary
GitOrigin-RevId: a8bd17cc2ee6e43dcea52bb25aef9ee1f91c7ec4
2019-02-12 19:17:20 +03:00
levlam
3e8277d65c Fix some possible use after move.
GitOrigin-RevId: 37e17c445c9a9df56d85452c964603c08334045d
2019-01-25 18:44:23 +03:00
levlam
eaebfad034 Update copyright year.
GitOrigin-RevId: 359e2b43322222922c44c430d3814b0a4c778dc6
2019-01-01 01:02:34 +03:00
levlam
b3bae546ec Various fixes.
GitOrigin-RevId: 52699dbd5280b63c6bb32da44ea5bfa3157a7922
2018-09-27 16:37:15 +03:00
levlam
f948956bf7 Use td::unique_ptr instead of std::unique_ptr whenever possible.
GitOrigin-RevId: 424beb72dc62efdefdbffb75f1036ba9417f84cb
2018-09-27 04:19:03 +03:00
Arseny Smirnov
2766e7d16b emscripten: td_get_timeout
GitOrigin-RevId: 920dac2d11ed999019e7faafe47cadf96d06900f
2018-09-18 16:43:16 +03:00
levlam
9971b52b81 Make subscribe a static method of Scheduler.
GitOrigin-RevId: e80024cfa63a37fb9b64f514ac3407d4e97c7302
2018-09-11 01:20:41 +03:00
levlam
fc0cbae579 Fix some includes.
GitOrigin-RevId: 9b36a638202fb8b34e13494efd6b4a48ff7f4845
2018-09-10 04:08:15 +03:00
levlam
fd90bf435e A lot of fixes.
GitOrigin-RevId: c7c16991da51e09a685537a444385852e8e93af4
2018-09-07 03:41:21 +03:00
Arseny Smirnov
44be8d2ea3 Scheduler: send from other thread
GitOrigin-RevId: 3448a047001c257bcfb4792135d2e332410c85e8
2018-08-16 16:56:16 +03:00
Arseny Smirnov
8a28e4b461 Almost compiles
GitOrigin-RevId: aad536022caddba0446a761e7ab1f3b4ac64f53b
2018-08-14 10:42:40 +03:00
levlam
19c3c03808 Template ActorSendType.
GitOrigin-RevId: 1dc9cc3a23935cc305e161ddf3e12a875bdf9704
2018-07-03 23:22:19 +03:00