Commit Graph

44 Commits

Author SHA1 Message Date
levlam
32724a5a6c Add and use Scheduler::run_on_scheduler. 2022-06-30 00:28:25 +03:00
levlam
6d17d58307 Fix formatting. 2022-04-04 16:48:53 +03:00
levlam
cb155ebf1a Improve log message. 2022-03-21 10:24:20 +03:00
levlam
8085779cdc Update copyright year. 2022-01-01 03:35:39 +03:00
levlam
85d6ef98c3 Fix Scheduler::get_timeout. 2021-12-08 18:13:52 +03:00
levlam
00cea653bf Improve includes. 2021-11-09 19:02: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
1e49f6dc13 Use auto as variable type if it is initialized with a cast. 2021-10-20 01:27:02 +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
4df03c8491 Clamp float numbers before conversion to integers. 2021-03-28 22:33:22 +03:00
levlam
52c1da0a70 Update copyright year. 2021-01-01 15:57:46 +03:00
levlam
45c3e28ea3 Remove unneeded checks. 2020-11-23 02:40:46 +03:00
levlam
39f30f42be Fix ConcurrentScheduler destructor. 2020-11-22 20:40:47 +03:00
levlam
9856b0e46e Add some workariunds for crashes on exit without closing all clients.
GitOrigin-RevId: 5c74e9fe6951b6a8eb65d6c1e5ddf7bf8e0c8163
2020-10-11 21:21:38 +03:00
levlam
d2d0cb5cc0 Move log tags definitions out of logging.cpp.
GitOrigin-RevId: 0e74b94ec194f8ee678bb77a04d35df46702b330
2020-10-05 18:07:23 +03:00
levlam
f266aa3912 Minor fixes.
GitOrigin-RevId: a4aacfa1ecab2718475d32bcbd99f9671ba7e982
2020-08-14 22:51:10 +03:00
levlam
983119ada3 Unify begin/end usages.
GitOrigin-RevId: 422dd5dbfdab7240818bbc35a7c554effa097378
2020-08-09 04:01:30 +03:00
levlam
c5059bcac3 Minor fixes.
GitOrigin-RevId: 28f8cabca2f70ba692f8713ec68866495061b31a
2020-08-05 20:36:13 +03:00
levlam
b970cc4e5e Remove debug logging.
GitOrigin-RevId: 56ca1c7950609f13dabf6c12262432ecfa14b523
2020-07-23 01:44:08 +03:00
Arseny Smirnov
9ea1bc824f ByteFlow: backpressure draft
GitOrigin-RevId: 09adce82dd88fcf84f41e525e45b07da03acc0f6
2020-07-22 21:52:00 +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
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
Arseny Smirnov
06efc32de9 Actors: destroy events in mailbox in context of actor
GitOrigin-RevId: f3b47e7b80889a65ead6a30e918513409df4c667
2019-07-30 16:22:43 +03:00
levlam
93494cf048 Fix log messages style.
GitOrigin-RevId: f99e2e838220826d3dea7fdc33c43ac9918a5efd
2019-02-21 18:58:20 +03:00
Arseny Smirnov
20bfcaa979 Use LOG_CHECK where it is necessary
GitOrigin-RevId: a8bd17cc2ee6e43dcea52bb25aef9ee1f91c7ec4
2019-02-12 19:17:20 +03:00
levlam
0075f91e2e Unify spelling of "expires_".
GitOrigin-RevId: 46aaff38317dd490f9d5a1250e426d94cb8aba75
2019-02-10 03:45:15 +03:00
levlam
eaebfad034 Update copyright year.
GitOrigin-RevId: 359e2b43322222922c44c430d3814b0a4c778dc6
2019-01-01 01:02:34 +03:00
levlam
39c7df8000 Add additional event.type CHECK.
GitOrigin-RevId: c5524a811b96a3b06585607ca041455e786bedcc
2018-12-14 20:00:19 +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
Arseny Smirnov
180de003a6 IOCP: pass tests under windows
GitOrigin-RevId: bbb13f722c911609e7cf120e7a06e02eb13c616f
2018-08-17 12:19:21 +03:00
Arseny Smirnov
9d1a1a1155 tdactors: IOCP draft
GitOrigin-RevId: eec85d677d808db336340d2667dca298493dd4a8
2018-08-16 17:29:13 +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
levlam
ba027ac0f5 Replace actor Send::Flags with ActorSendType.
GitOrigin-RevId: 30b50f6a856301d6dfc7cbe9c0410281c93beddd
2018-07-03 22:50:41 +03:00
levlam
b4d6662f71 Add some debug.
GitOrigin-RevId: 29b2efa626ed4a6a0c0eb2ac2cec2fb245e9e6b5
2018-06-25 01:51:15 +03:00
levlam
7de9a0c15d New Proxy API.
GitOrigin-RevId: 2f96b8d1732c25e10a7568c6cf2dbbe26a150e4a
2018-05-14 22:00:38 +03:00
levlam
5cbda834bd Update copyright year.
GitOrigin-RevId: 1369d3af1195221f6ddb9462d5f8b74fb5fef20f
2018-01-02 16:45:09 +03:00
Arseny Smirnov
71d03f39c3 Project import generated by Copybara.
GitOrigin-RevId: 318483224ad6164d9966f731d60cde37039bb2d4
2017-12-31 23:08:40 +03:00