levlam
|
f1ee808465
|
Fix warning.
|
2022-11-18 15:19:01 +03:00 |
|
levlam
|
47aa5b51c7
|
Improve log guard.
|
2022-11-18 14:33:23 +03:00 |
|
levlam
|
f8e2af3f59
|
Rename size() to calc_size() for WaitFree hash tables.
|
2022-11-18 13:16:24 +03:00 |
|
levlam
|
35a9a4b785
|
Make WaitFreeHashSet recursive.
|
2022-11-18 13:08:04 +03:00 |
|
levlam
|
e7b7217256
|
Make WaitFreeHashMap recursive.
|
2022-11-18 12:53:26 +03:00 |
|
levlam
|
a1f19371b0
|
Improve to_integer_safe error message.
|
2022-11-18 00:25:36 +03:00 |
|
levlam
|
59d4248efb
|
Add voluntary spin lock for logging to reduce conflicts with stderr.
|
2022-11-14 14:34:31 +03:00 |
|
levlam
|
97f14fb6a9
|
Fix remove_emoji_modifiers.
|
2022-11-11 22:20:38 +03:00 |
|
levlam
|
8b4bc80860
|
Fix AsyncFileLog building without threads.
|
2022-11-09 14:48:14 +03:00 |
|
levlam
|
ab14065168
|
Improve fatal error handling in AsyncFileLog.
|
2022-11-07 14:59:18 +03:00 |
|
levlam
|
e11804b5b0
|
Don't truncate logs after rotation.
|
2022-11-01 14:13:14 +03:00 |
|
levlam
|
8c694cd3d3
|
Improve TimedStat value after long pause.
|
2022-11-01 14:03:20 +03:00 |
|
levlam
|
5217a86e0d
|
Support redirect_stderr in AsyncFileLog.
|
2022-10-15 10:17:42 +03:00 |
|
levlam
|
ee28a37906
|
Minor improvements.
|
2022-10-12 15:59:58 +03:00 |
|
levlam
|
683627a350
|
Make all operator bool const and nonexcept.
|
2022-10-09 19:30:18 +03:00 |
|
levlam
|
7f5f6e41ad
|
Minor improvements.
|
2022-10-09 19:00:14 +03:00 |
|
levlam
|
5a29dcd337
|
Avoid redundant usages of Status::error().
|
2022-10-09 14:15:54 +03:00 |
|
levlam
|
78ba8fa983
|
Add AsyncFileLog.
|
2022-10-09 13:04:57 +03:00 |
|
levlam
|
f12b2f5efe
|
Fix warning.
|
2022-10-08 20:54:58 +03:00 |
|
levlam
|
4af5c4f5dd
|
Add logging for slow logging to file.
|
2022-10-05 23:55:50 +03:00 |
|
levlam
|
e984706622
|
Add td:🧵:get_id().
|
2022-10-04 22:48:55 +03:00 |
|
levlam
|
628b8901bc
|
Optimize logging to NULL on Windows. Fixes #2112.
It is possible to do only about 100 writes to NULL per second, which is about 8-80 times less than even performance of writes to a console app.
|
2022-10-03 15:11:23 +03:00 |
|
levlam
|
10680fe353
|
Minor improvements.
|
2022-10-03 14:39:20 +03:00 |
|
levlam
|
8f0ffd0a65
|
Reduce MAX_STORAGE_SIZE for wait free hash tables to reduce split_storage time.
|
2022-09-30 16:38:11 +03:00 |
|
levlam
|
ee04923ce1
|
Add lazy initialization for keyword_stickers_map_.
|
2022-09-27 16:16:36 +03:00 |
|
levlam
|
66dca9a510
|
Update emoji to 15.0.
|
2022-09-27 14:28:08 +03:00 |
|
levlam
|
99a2ffdcec
|
Update Unicode tables to 15.0.
|
2022-09-27 14:22:30 +03:00 |
|
levlam
|
4a6e0aea43
|
Add utf8_prepare_search_string.
|
2022-09-27 14:16:09 +03:00 |
|
levlam
|
b3e16c5dd7
|
Use the same template recursively for instant view links.
|
2022-09-26 19:24:39 +03:00 |
|
levlam
|
faa738d6a9
|
Keep only Slice overload of utf8_utf16_substr.
|
2022-09-22 12:08:34 +03:00 |
|
levlam
|
5c5d19e76f
|
Increase 8 times number of WaitFreeMap storages.
|
2022-09-22 07:13:17 +03:00 |
|
levlam
|
b6db8a66ec
|
Remove dangerous Timestamp::store.
|
2022-09-21 14:25:31 +03:00 |
|
levlam
|
275ee280d2
|
Use thread-local EVP_MD_CTX in OpenSSL 3.0.
|
2022-09-19 18:17:51 +03:00 |
|
levlam
|
cb70993b90
|
Fix buggy behavior of pthread_setaffinity_np/pthread_getaffinity_np on NetBSD.
|
2022-09-17 23:25:42 +03:00 |
|
levlam
|
9bf5d57851
|
Add TD_HAVE_THREAD_AFFINITY macros.
|
2022-09-17 21:58:00 +03:00 |
|
levlam
|
b8abc6c19e
|
Support CPU affinity on NetBSD.
|
2022-09-17 21:48:16 +03:00 |
|
levlam
|
b47fce0d95
|
Support CPU affinity on FreeBSD.
|
2022-09-17 14:45:42 +03:00 |
|
levlam
|
9d5c151a3f
|
Use DWORD as thread::id on Windows.
|
2022-09-17 13:21:04 +03:00 |
|
levlam
|
0cc3fb0e9d
|
Include pthread.h on OpenBSD for pthread_t definition.
|
2022-09-17 01:37:05 +03:00 |
|
levlam
|
0025c4164b
|
Add internalLinkTypeInstantView.
|
2022-09-16 01:30:54 +03:00 |
|
levlam
|
b49b669ac1
|
Support affinity mask on Linux.
|
2022-09-14 15:33:16 +03:00 |
|
levlam
|
0eddd8d405
|
Add thread::set_affinity_mask/get_affinity_mask.
|
2022-09-14 14:38:14 +03:00 |
|
levlam
|
5f98548e02
|
Use STL thread only on Windows.
|
2022-09-14 14:19:09 +03:00 |
|
levlam
|
273ae92a14
|
Use HANDLE as thread id on Windows.
|
2022-09-14 14:18:42 +03:00 |
|
levlam
|
03db53281c
|
Remove this_thread::yield for TD_THREAD_UNSUPPORTED.
|
2022-09-14 14:10:33 +03:00 |
|
levlam
|
ce9175a00b
|
Always use "must be non-empty".
|
2022-09-10 22:48:34 +03:00 |
|
levlam
|
9fc136976c
|
Remove ChainBufferWriter::init.
|
2022-09-06 12:42:00 +03:00 |
|
levlam
|
ba2c071324
|
Use explicit EVP_CIPHER_fetch with OpenSSL 3.0, because EVP_aes_* fetch algorithm each time and are extremely slow in OpenSSL 3.0.
|
2022-08-29 21:16:12 +03:00 |
|
levlam
|
5e87cae73d
|
Remove unused Evp::init parameter.
|
2022-08-29 20:41:35 +03:00 |
|
levlam
|
398a996ef8
|
Use explicit EVP_MD_fetch with OpenSSL 3.0, because EVP_sha* fetch algorithm each time and are extremely slow in OpenSSL 3.0.
|
2022-08-29 16:19:47 +03:00 |
|