Commit Graph

234 Commits

Author SHA1 Message Date
levlam
4041ecb535 Fix warning. 2023-04-24 23:08:25 +03:00
levlam
7e60c440ff Delete temporary files after test finish. 2023-04-23 02:01:51 +03:00
levlam
ee0922d23d Remove Scheduler::init(). 2023-03-27 18:08:06 +03:00
levlam
f2a406690e Improve Actor::init name. 2023-03-27 17:56:40 +03:00
levlam
7055176e89 Remove ActorSendType::LaterWeak. 2023-03-21 13:01:24 +03:00
levlam
52509b20a8 Improve check in MultiTimeout::update_timeout. 2023-03-21 12:25:01 +03:00
levlam
b6a6c07de5 Add optional source to MultiTimeout::cancel_timeout. 2023-03-17 01:02:30 +03:00
levlam
1bf2d63539 Add source to MultiTimeout::update_timeout. 2023-03-08 16:19:02 +03:00
levlam
5508285804 Improve fatal error logging. 2023-03-08 15:30:13 +03:00
levlam
22fdc0258b Use "receive"/"have"/"loaded" instead of "got" and other log message improvements. 2023-02-26 14:22:31 +03:00
levlam
ad8f0c4146 Improve some spelling. 2023-01-16 12:59:43 +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
3b6874818a Always wait for mailbox. 2023-01-11 01:08:22 +03:00
levlam
cf1984844b Update copyright year. 2023-01-01 00:28:08 +03:00
levlam
71e3011afa Implement get_scheduler_thread_id without threads. 2022-11-09 18:11:48 +03:00
levlam
ee28a37906 Minor improvements. 2022-10-12 15:59:58 +03:00
levlam
7c2fae669a Fix warning. 2022-10-05 16:23:08 +03:00
levlam
7aa6f2bf91 Add ConcurrentScheduler::get_thread_id. 2022-10-04 23:12:50 +03:00
levlam
49e840aae5 Minor improvements. 2022-10-01 23:48:03 +03:00
levlam
d4d365d31f Remove template ActorOwn::reset. 2022-10-01 16:29:56 +03:00
levlam
be87e4179f Inline ActorOwn::hangup. 2022-10-01 15:58:27 +03:00
levlam
39d2ac80b0 Remove unused ActorId methods. 2022-10-01 11:29:09 +03:00
levlam
fd8c7534a4 Inline yield_scheduler. 2022-10-01 01:30:39 +03:00
levlam
9bf5d57851 Add TD_HAVE_THREAD_AFFINITY macros. 2022-09-17 21:58:00 +03:00
levlam
7922df1039 Explicitly ignore failure to set thread affinity mask. 2022-09-14 18:21:41 +03:00
levlam
1ac2dfef30 Replace ConcurrentScheduler::init with constructor. 2022-09-14 15:06:52 +03:00
levlam
70e3586626 Allow to specify affinity mask for concurrent scheduler threads. 2022-09-14 14:49:48 +03:00
levlam
8f433070df Minor fixes. 2022-08-14 15:04:08 +03:00
levlam
07b7faf66c Reduce run time of some tests. 2022-07-28 00:15:18 +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
6eef50f769 Remove unused DelayedClosure private constructors. 2022-07-17 12:11:04 +03:00
levlam
04a7583bd0 Remove unused Event::clone method. 2022-07-17 10:41:17 +03:00
levlam
abc9ed2cd9 Minor fixes. 2022-07-14 18:38:48 +03:00
levlam
8537b3d495 Move MultiTimeout to MultiTimeout.h. 2022-07-02 23:32:18 +03:00
levlam
32724a5a6c Add and use Scheduler::run_on_scheduler. 2022-06-30 00:28:25 +03:00
levlam
26fdb92dd8 Minor improvements. 2022-06-28 15:32:05 +03:00
levlam
ebebe0300c Move promise_send_closure to PromiseFuture.h. 2022-06-28 14:02:14 +03:00
levlam
32bac7bd24 Move Promise to tdutils. 2022-06-27 13:30:18 +03:00
levlam
da2e504566 Remove Promise operators. 2022-06-27 03:59:23 +03:00
levlam
cb694ab649 Remove unused ability of Promise to migrate between schedulers. 2022-06-27 03:05:24 +03:00
levlam
513da45a8f Use free-standing function to create event promises. 2022-06-27 02:57:56 +03:00
levlam
aa97336963 Remove unused class Ignore. 2022-06-26 22:41:57 +03:00
levlam
4b9990aff9 Simplify LambdaPromise implementation. 2022-06-26 22:31:28 +03:00
levlam
f62632fcbc Remove rarely used PromiseCreator::lambda with 2 lambdas. 2022-06-26 17:11:27 +03:00
levlam
782aa6a2ec Minor fixes. 2022-06-14 16:11:38 +03:00
levlam
4652292037 Use count instead of find if appropriate. 2022-05-01 23:03:06 +03:00