<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ydb/util/system, branch stable-23-2</title>
<subtitle>Mirror of YDB github repos</subtitle>
<id>https://code.mastervirt.ru/ydb/atom?h=stable-23-2</id>
<link rel='self' href='https://code.mastervirt.ru/ydb/atom?h=stable-23-2'/>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/'/>
<updated>2023-01-12T17:28:20Z</updated>
<entry>
<title>introduce NumberOfMillicores() function based on refactored CgroupCpus() returning double value</title>
<updated>2023-01-12T17:28:20Z</updated>
<author>
<name>svkrasnov</name>
<email>svkrasnov@yandex-team.com</email>
</author>
<published>2023-01-12T17:28:20Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/commit/?id=b168b15511a5b04b8d6aababf3ec9a3fba1e9924'/>
<id>urn:sha1:b168b15511a5b04b8d6aababf3ec9a3fba1e9924</id>
<content type='text'>
</content>
</entry>
<entry>
<title>add windows platform to ydb github export</title>
<updated>2022-12-19T21:50:48Z</updated>
<author>
<name>alexv-smirnov</name>
<email>alex@ydb.tech</email>
</author>
<published>2022-12-19T21:50:48Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/commit/?id=84f2cfa253cc618438ed6e9d68b33fa7c0d88cb9'/>
<id>urn:sha1:84f2cfa253cc618438ed6e9d68b33fa7c0d88cb9</id>
<content type='text'>
</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>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>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>Clang14: Fix library/cpp/coroutine/engine under tsan</title>
<updated>2022-09-29T09:29:04Z</updated>
<author>
<name>pg</name>
<email>pg@yandex-team.com</email>
</author>
<published>2022-09-29T09:29:04Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/commit/?id=415be0d1a1a30e2256bbf072fcec6c81cce8d706'/>
<id>urn:sha1:415be0d1a1a30e2256bbf072fcec6c81cce8d706</id>
<content type='text'>
</content>
</entry>
<entry>
<title>add comment for TAdaptiveLock</title>
<updated>2022-09-22T07:28:48Z</updated>
<author>
<name>tobo</name>
<email>tobo@yandex-team.com</email>
</author>
<published>2022-09-22T07:28:48Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/commit/?id=4728a5b422fcd40631a478251e016178ca74e5fb'/>
<id>urn:sha1:4728a5b422fcd40631a478251e016178ca74e5fb</id>
<content type='text'>
https://clubs.at.yandex-team.ru/arcadia/8450/8489#reply-arcadia-8489</content>
</entry>
<entry>
<title>Fix tsan warnings in yt intrusive ptr</title>
<updated>2022-09-19T09:27:43Z</updated>
<author>
<name>ayles</name>
<email>ayles@yandex-team.com</email>
</author>
<published>2022-09-19T09:27:43Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/commit/?id=ff49fbec3c655b16509b12a0f3a82efacd521771'/>
<id>urn:sha1:ff49fbec3c655b16509b12a0f3a82efacd521771</id>
<content type='text'>
For example, https://github.com/google/sanitizers/issues/1352 - tsan is not working well with std::atomic_thread_fence

Minimal reproducible example (and one that bothers most in every fiber-aware service):

```
auto threadPool = NYT::New&lt;NYT::NConcurrency::TThreadPool&gt;(2, "thread");
    
TVector&lt;NYT::TFuture&lt;void&gt;&gt; futures;

for (size_t i = 0; i &lt; 100000; ++i) {
    futures.emplace_back(BIND([]() {
        
    }).AsyncVia(threadPool-&gt;GetInvoker()).Run());
}

for (auto&amp; future : futures) {
    future.Get().ThrowOnError();
}
```</content>
</entry>
</feed>
