Commit Graph

94 Commits

Author SHA1 Message Date
levlam
8085779cdc Update copyright year. 2022-01-01 03:35:39 +03:00
levlam
106797f7f0 Improve private field names. 2021-12-10 13:07:55 +03:00
levlam
1bb9b7dfa9 Update clang-format to 13.0.1. 2021-12-10 00:27:13 +03:00
levlam
9f44816a62 Minor improvements. 2021-10-21 12:51:16 +03:00
levlam
01976bed53 Minor warning fixes. 2021-10-18 15:37:21 +03:00
levlam
81b38d5607 Mark move constructors/assignment operators noexcept. 2021-10-18 14:36:15 +03:00
levlam
40c5d47717 Make inherited classes final if possible. 2021-07-04 05:58:54 +03:00
levlam
edfa5d1d98 Use final instead of override. 2021-07-03 23:51:36 +03:00
levlam
3b0e2f5e85 Added the ability to hook into logging system. 2021-05-17 18:49:09 +03:00
levlam
a6a4eb6616 Don't include SliceBuilder.h in logging.h. 2021-05-17 15:21:11 +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
b582eb346a Undo move_as_native_fd changes. 2020-12-24 18:43:26 +03:00
levlam
c1a16acd53 Don't check that Stdin/Stdout/Stderr are unlocked on exit. 2020-12-24 17:12:50 +03:00
levlam
a093d36b3f Better fix for ThreadIdGuard destroy after exit. 2020-11-23 00:57:52 +03:00
levlam
4b687582c1 Do not try to use ThreadIdManager after exit. 2020-11-23 00:38:16 +03:00
levlam
fc5bf9ef06 Suppress SIGPIPE signals on write.
GitOrigin-RevId: 19ff2a079a4dc69535e34282bfb2c2f381856def
2020-10-18 18:12:32 +03:00
levlam
d2d0cb5cc0 Move log tags definitions out of logging.cpp.
GitOrigin-RevId: 0e74b94ec194f8ee678bb77a04d35df46702b330
2020-10-05 18:07:23 +03:00
levlam
d46fa34869 Fix Linux CE.
GitOrigin-RevId: 7758d3fe4cc16210338f739e2dcc748d55e808a5
2020-09-02 17:22:30 +03:00
levlam
f266aa3912 Minor fixes.
GitOrigin-RevId: a4aacfa1ecab2718475d32bcbd99f9671ba7e982
2020-08-14 22:51:10 +03:00
levlam
fe5bf41980 Minor improvements.
GitOrigin-RevId: 45477784ae1840f217b9394e3d0cc56e1241f9ce
2020-08-07 22:14:42 +03:00
Arseny Smirnov
c48ef93e1e tdutils: add skip_eintr_timeout and use it for EventFd
GitOrigin-RevId: 716218731f914e89e6f1e542054298380441b522
2020-08-07 18:50:33 +03:00
levlam
e4ecebc6bb Do not include unused headers on Windows.
GitOrigin-RevId: bf9d0c15d6271019253fe4157c9db42c34528f7b
2020-08-07 11:59:21 +03:00
levlam
8049a55081 Minor.
GitOrigin-RevId: 9ce34cfb96d0a86a71d95f1d12d8365d268285e0
2020-07-21 19:48:01 +03:00
Arseny Smirnov
38ef3a75cc PollableFd: explicit sync_with_poll
GitOrigin-RevId: 71fa35a594816e84e372ebcfa9d0077a13f26a62
2020-07-21 18:29:39 +03:00
levlam
8872fbf6ac Fix tdutils after merge.
GitOrigin-RevId: 5b9a863e405a9e3782157570156fda71bf2bb589
2020-06-26 02:24:13 +03:00
Arseny Smirnov
fd6423dedf update tdutils from another project
GitOrigin-RevId: 79b8eb2ba229d733f82dbb17b8bd7f27471c9472
2020-06-24 14:47:36 +03:00
levlam
715146c65c Move skip_eintr to a separate header.
GitOrigin-RevId: 80eeb583cd1a4351c5b72c7ec4021575dbc216a7
2020-06-15 03:50:38 +03:00
levlam
b1419f9de5 Fix some includes.
GitOrigin-RevId: f4b44d2e91ca72b6090d7f1f35673e8268723241
2020-06-07 18:14:52 +03:00
levlam
2df3de7b80 Improve logging.
GitOrigin-RevId: 8574b038e9682f8020d1508a7be7beef223e1b08
2020-03-10 04:37:46 +03:00
levlam
1313fb1543 Remove illegal MovableValue<void *> usage.
GitOrigin-RevId: 1daee39044131e396183ee20baa589b96ba27eb4
2020-01-30 22:11:04 +03:00
levlam
80c35676a2 Update copyright year.
GitOrigin-RevId: 09afb551b6e637dc69739fa735b0051a38b9e14c
2020-01-01 04:23:48 +03:00
levlam
c81e18f5f1 Do not try to use sysctl if sys/sysctl.h is not included.
GitOrigin-RevId: 49a50aa9c102fd3681963552f5524840e8d222df
2019-10-23 05:00:04 +03:00
levlam
4ffa2169d9 tdutils: Fix build for alpine linux
* Error log: https://del.dog/ujofeqowol
2019-10-23 04:55:25 +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
ef5e709ac8 Fix clang 3.4 and OpenSSL 0.9.8 CE.
GitOrigin-RevId: 9157bfe975bdb376fbd573bd23107c36b1444f34
2019-09-09 02:04:30 +03:00
levlam
abb140a714 Minor improvements.
GitOrigin-RevId: a50ba2cc0b47b395d7d7787ad59868d23bf22634
2019-09-08 03:49:16 +03:00
Arseny Smirnov
2b382567be NativeFd: fix CHECKs
GitOrigin-RevId: bbbbad169513c4503eba1c7a98349c98b9e6ed1a
2019-08-28 16:59:50 +03:00
levlam
22f4507033 ThreadPthread fixes.
GitOrigin-RevId: 5c56a443f95beda913c3b1b46eacbfc068271c0e
2019-08-26 17:44:30 +03:00
Arseny Smirnov
80d96550ba ThreadPthread: better hardware_concurrency implementation
GitOrigin-RevId: 4cccfcbf5f6ad5e1293993ff111b8021bb5c70a1
2019-08-26 15:35:08 +03:00
Arseny Smirnov
f63ce74fef tdutils: import changes from other project
GitOrigin-RevId: 0cfbe2418933cffdce4f0d1b8461c247a814d868
2019-08-12 14:45:57 +03:00
levlam
1a100e1b0f Add NetBSD support.
GitOrigin-RevId: 42703ce955a4323757de56d0c012a54246227f70
2019-08-02 19:06:53 +03:00
Arseny Smirnov
420a0e43af NativeFd: remove on_release_fd method
GitOrigin-RevId: 16c5d50b2a796767865b4ee32b8c2492655bd529
2019-08-01 19:43:36 +03:00
Arseny Smirnov
b0ad2ad190 Fix TD_FD_DEBUG
GitOrigin-RevId: fd4ace2ccc618d1e43aff9226aa1d2777aa6874d
2019-08-01 07:06:43 +03:00
levlam
457f3424aa Fix TD_FD_DEBUG mode.
GitOrigin-RevId: ba9eb0f51308f865802947eeaef46e7adaa2608f
2019-08-01 05:11:55 +03:00
levlam
a82e80be0a Fix CE.
GitOrigin-RevId: 686b83e2202c35f811bd4fd56d80b3e6970c4f2c
2019-08-01 04:55:56 +03:00
levlam
dacd81a8fa NativeFd fixes.
GitOrigin-RevId: b792887066dc5f004f3d4f61224840be4cd01eeb
2019-08-01 02:48:34 +03:00
Arseny Smirnov
bc1e26779f Epoll: use NativeFd
GitOrigin-RevId: a4ff097abcf03cc7ac3a918969762c1539a19644
2019-07-31 13:45:15 +03:00
Arseny Smirnov
115fba770f TD_FD_DEBUG: cmake option to debug EINVAL errors
GitOrigin-RevId: d0bd1be3a16b94a71c45ec4cca5f42e1364a3200
2019-07-31 12:18:48 +03:00
levlam
98b8929932 Fix includes.
GitOrigin-RevId: 7b62de39f2d62ac8c14c24fb83041c717ba49873
2019-07-23 01:50:12 +03:00