Commit Graph

64 Commits

Author SHA1 Message Date
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
levlam
20503e04d2 Various fixes.
GitOrigin-RevId: da4869e5054952663ad5993f5770f2984a473818
2019-07-22 07:01:51 +03:00
levlam
635aca2924 Fix tdutils after update.
GitOrigin-RevId: afc6d10dd0e2b2a7193dd2c96f07d5ca1cb11a00
2019-07-21 21:07:07 +03:00
Arseny Smirnov
02c31f486f tdutils: update from other project
GitOrigin-RevId: 73c666dbdd72811b151a48504716ed4aee6af1a0
2019-07-06 13:29:15 +02:00
levlam
6acdaf056f Fix std::atomic_flag init.
GitOrigin-RevId: a5db747edd902e2e6c7847c7c525bbd2cef0df1a
2019-04-22 03:18:33 +03:00
levlam
93494cf048 Fix log messages style.
GitOrigin-RevId: f99e2e838220826d3dea7fdc33c43ac9918a5efd
2019-02-21 18:58:20 +03:00
levlam
9b42166c68 Explicitly include common.h.
GitOrigin-RevId: 5ae32c18d0ff18aac36334b494ea526ce7da4a9a
2019-02-13 00:26:36 +03:00
levlam
eb9ead582f Remove unneded includes of td/utils/loggging.h.
GitOrigin-RevId: 82a3b506dba5c9d5267dc0e2504a7093a7fa87db
2019-02-12 23:48:16 +03:00
Arseny Smirnov
20bfcaa979 Use LOG_CHECK where it is necessary
GitOrigin-RevId: a8bd17cc2ee6e43dcea52bb25aef9ee1f91c7ec4
2019-02-12 19:17:20 +03:00
levlam
eaebfad034 Update copyright year.
GitOrigin-RevId: 359e2b43322222922c44c430d3814b0a4c778dc6
2019-01-01 01:02:34 +03:00
levlam
7d565e359d Improve clean_filename behavior.
GitOrigin-RevId: da29b1a87a27b6bcb7651ae1b261d44dcf18849f
2018-11-27 04:24:43 +03:00
levlam
0d5a09e615 Fix ThreadPthread.
GitOrigin-RevId: 3b16056894c33775dcf31146a87f1ab1c2ee13cc
2018-11-03 22:36:52 +03:00
levlam
d119861780 Add missed include.
GitOrigin-RevId: 206f244bcd8d7759b942de8288284bcbd48b22f0
2018-11-02 22:57:22 +03:00
levlam
0624f75eec Add FreeBSD support.
GitOrigin-RevId: 8cc4a42d4c7879ba1b19591f7b37880d5d554585
2018-11-02 22:47:20 +03:00
levlam
28bfa4c4a6 Fix some MSVC Analyzer warnings.
GitOrigin-RevId: f62e8173ae9a5b78818f6575548ce22d4aa5c51d
2018-10-26 17:11:20 +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
23e4c95c1c Fix EventFdLinux
GitOrigin-RevId: 15b9fe88f5df8489c837d75fe3705a01298e902a
2018-09-22 17:13:49 +03:00
levlam
7e2053fcf5 Fix some includes.
GitOrigin-RevId: 3e3323045c44976ceea99b218d6806d3c836bbf2
2018-09-14 01:00:21 +03:00
levlam
56f5f4e263 Simplify reader_wait and fix some includes.
GitOrigin-RevId: 32a91a6aa25934b2eeeddd99470a24871f38d219
2018-09-13 21:22:25 +03:00
Arseny Smirnov
02e83aad78 EventFd: wait
GitOrigin-RevId: 1ae5d1c3d1316a7c5a868c4246b406182915b399
2018-09-13 16:27:09 +03:00
levlam
86ef95e0a8 Fix CE and some includes.
GitOrigin-RevId: e181d67a6ed36c9cbd444cf2282902b6a90881be
2018-09-13 06:08:49 +03:00
levlam
30ceb55fb4 Fix checking of return values.
GitOrigin-RevId: 81accbd062db24d031a3054ba5cc86ace38774ad
2018-09-11 20:31:53 +03:00
Arseny Smirnov
c4b18325b9 Thread: detach
GitOrigin-RevId: 92efe8bfc3052cc9b0b75895c6a6510be8eb8fcd
2018-09-11 17:55:00 +03:00
levlam
4df6f95818 Move Iocp to separate files.
GitOrigin-RevId: 8b60ea4ab775d264b70987316aac8141719d3a6b
2018-09-11 17:43:43 +03:00
levlam
10118d0449 Simplify NativeFd.
GitOrigin-RevId: 07a33f1ad18b426ef339da76467c667607c1a3b9
2018-09-11 16:27:20 +03:00
levlam
f4c85df878 Use WSARecv/WSASend instead of ReadFile/WriteFile. Fix check_status.
GitOrigin-RevId: bbfdf27d508f5c985b14bc13bd8549201ae1cb15
2018-09-10 20:49:54 +03:00
Arseny Smirnov
982369c495 BufferdStdin: support posix
GitOrigin-RevId: eac3b2429f6680fb6246fecefc8bed7b4c48bd14
2018-09-10 18:09:08 +03:00
levlam
c6afabd633 Reimplement NativeFd::duplicate.
GitOrigin-RevId: 7f2dcff066d8f944514cb0bbc48991bbe3706820
2018-09-10 17:47:28 +03:00
levlam
0f4343d542 Add real NativeFd::set_is_blocking.
GitOrigin-RevId: a44de74e99cbe6161589e0d039f8fcb8b6e339c1
2018-09-10 17:05:12 +03:00
levlam
00b4fe3bc3 Mark PollableFdInfo default members as deleted.
GitOrigin-RevId: c16b8d57ac94f67018209af78518db0b95697932
2018-09-10 15:42:46 +03:00