<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ydb/util, branch CLI_2.1.0</title>
<subtitle>Mirror of YDB github repos</subtitle>
<id>https://code.mastervirt.ru/ydb/atom?h=CLI_2.1.0</id>
<link rel='self' href='https://code.mastervirt.ru/ydb/atom?h=CLI_2.1.0'/>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/'/>
<updated>2022-11-14T13:35:19Z</updated>
<entry>
<title>more information in TEpollPoller::SetImpl error messages</title>
<updated>2022-11-14T13:35:19Z</updated>
<author>
<name>kulikov</name>
<email>kulikov@yandex-team.com</email>
</author>
<published>2022-11-14T13:35:19Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/commit/?id=7c3d98b1daa4cb8b077d748f4e2d1d5ab042a9c1'/>
<id>urn:sha1:7c3d98b1daa4cb8b077d748f4e2d1d5ab042a9c1</id>
<content type='text'>
- don't hide epoll_ctl add errors;
 - print "fd" and "what" args.</content>
</entry>
<entry>
<title>[util] Terminate instead of deadlock after fork with running thread pools</title>
<updated>2022-11-10T09:04:05Z</updated>
<author>
<name>sskvor</name>
<email>sskvor@yandex-team.com</email>
</author>
<published>2022-11-10T09:04:05Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/commit/?id=6d5ed9f0166178823f3a752bfe46dd7ef5042df8'/>
<id>urn:sha1:6d5ed9f0166178823f3a752bfe46dd7ef5042df8</id>
<content type='text'>
Контекст. В древнем странном коде обнаружили, что если создавать `TThreadPool` часто и конкуретно с запуском `TShellCommand`, то иногда последняя дедлочится: если начали выполнять конструктор `TThreadPool` и регистрацию в `TAtforkQueueRestarter`, захватив `TAtforkQueueRestarter::ActionMutex`, а в другом потоке параллельно сделали `fork`, то последний может форкнуться с залоченым мьютексом. Первым делом происходит вызов коллбеков из `pthread_atfork`, где мьютекс лочится заново.

Конечно, форкаться в сложных программах с тредпулами категорически запрещено, но, подозреваю, много кода в аркадии так написано. Давайте как-то защитимся от такого.</content>
</entry>
<entry>
<title>Add comment about necessary nanny settings</title>
<updated>2022-11-01T21:17:00Z</updated>
<author>
<name>skorodumov-s</name>
<email>skorodumov-s@yandex-team.com</email>
</author>
<published>2022-11-01T21:17:00Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/commit/?id=3740591e5cdb20c22146649b06f1561c855ca9e9'/>
<id>urn:sha1:3740591e5cdb20c22146649b06f1561c855ca9e9</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Correct debug trap for M1</title>
<updated>2022-10-30T09:12:32Z</updated>
<author>
<name>somov</name>
<email>somov@yandex-team.com</email>
</author>
<published>2022-10-30T09:12:32Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/commit/?id=4797d8678612824c0533a78b241eb6611131d542'/>
<id>urn:sha1:4797d8678612824c0533a78b241eb6611131d542</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Remove a workaround for ancient CUDA versions</title>
<updated>2022-10-29T13:03:13Z</updated>
<author>
<name>dfyz</name>
<email>dfyz@yandex-team.com</email>
</author>
<published>2022-10-29T13:03:13Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/commit/?id=8985a698521744e4065500f5945d44ca52f797a9'/>
<id>urn:sha1:8985a698521744e4065500f5945d44ca52f797a9</id>
<content type='text'>
`#define noexcept throw()` is a questionable idea, since replacing `noexcept` with `throw()` in expressions such as `noexcept(true)` results in spectacular compiler errors. We stopped supporting CUDA 8 (and even CUDA 9) long ago, which means we can just get rid of the problematic define.</content>
</entry>
<entry>
<title>fix coveriy issue 16907: Uninitialized pointer field</title>
<updated>2022-10-28T16:14:06Z</updated>
<author>
<name>uzhas</name>
<email>uzhas@ydb.tech</email>
</author>
<published>2022-10-28T16:14:06Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/commit/?id=6bbe00187e61d0039d6f8dbc103a438594411983'/>
<id>urn:sha1:6bbe00187e61d0039d6f8dbc103a438594411983</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Enable linux-arm platform.</title>
<updated>2022-10-26T13:40:35Z</updated>
<author>
<name>dcherednik</name>
<email>dcherednik@ydb.tech</email>
</author>
<published>2022-10-26T13:40:35Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/commit/?id=b981cca279190176740c3bf5c5b4fd03be51b599'/>
<id>urn:sha1:b981cca279190176740c3bf5c5b4fd03be51b599</id>
<content type='text'>
</content>
</entry>
<entry>
<title>[util]TLazyValue: remove operator bool and Defined</title>
<updated>2022-10-11T08:21:16Z</updated>
<author>
<name>tldr</name>
<email>tldr@yandex-team.com</email>
</author>
<published>2022-10-11T08:21:16Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/commit/?id=128195d32b1e2057a59cb74b66a2144f6d1e1853'/>
<id>urn:sha1:128195d32b1e2057a59cb74b66a2144f6d1e1853</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix a warning when compiling util/ with nvcc 10.x</title>
<updated>2022-10-08T15:31:37Z</updated>
<author>
<name>dfyz</name>
<email>dfyz@yandex-team.com</email>
</author>
<published>2022-10-08T15:31:37Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/commit/?id=35b65c84fba4bca4976ace7ae00a4e4bef6e1ca8'/>
<id>urn:sha1:35b65c84fba4bca4976ace7ae00a4e4bef6e1ca8</id>
<content type='text'>
nvcc10.1 is unable to compile `[[clang::reinitializes]]` and issues warning as follows:
```
util/generic/ptr.h(194): warning: attribute namespace "clang" is unrecognized
util/generic/ptr.h(201): warning: attribute namespace "clang" is unrecognized
[...]
```

nvcc11 compiles this code without any warnings.

This PRs disable `[[clang::reinitialized]]` when compiling with nvcc10.</content>
</entry>
<entry>
<title>[util] Fix TFunctionRef under MSVC</title>
<updated>2022-10-07T09:53:10Z</updated>
<author>
<name>sskvor</name>
<email>sskvor@yandex-team.com</email>
</author>
<published>2022-10-07T09:53:10Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/commit/?id=d10b241085e3d8ea303601bf61d35b2b11ad8146'/>
<id>urn:sha1:d10b241085e3d8ea303601bf61d35b2b11ad8146</id>
<content type='text'>
</content>
</entry>
</feed>
