Commit Graph

241 Commits

Author SHA1 Message Date
AYMEN Mohammed
50c3bf2e4f
Fix typos. (#2641) 2023-10-18 19:12:31 +03:00
Zephyr Lykos
ebd77d5152 Export static targets in a separate file 2023-10-14 23:56:00 +03:00
levlam
06e01a9ebd Avoid 'Access is denied. : 5 : File "server" can't be opened/created for reading' error in tests. 2023-10-06 00:29:08 +03:00
levlam
28961b7d0e Add more common.h includes. 2023-08-05 16:09:36 +03:00
levlam
e3256e7b4c Use td::append if possible. 2023-06-10 23:14:03 +03:00
levlam
c0911577f7 Use empty name for unused move constructor/assignment parameter. 2023-05-05 13:51:19 +03:00
levlam
206787255b Add an Actor test. 2023-05-05 00:08:32 +03:00
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