<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ydb/util/system, branch CLI_2.4.0</title>
<subtitle>Mirror of YDB github repos</subtitle>
<id>https://code.mastervirt.ru/ydb/atom?h=CLI_2.4.0</id>
<link rel='self' href='https://code.mastervirt.ru/ydb/atom?h=CLI_2.4.0'/>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/'/>
<updated>2023-05-11T18:33:03Z</updated>
<entry>
<title>Optimize CloseAllFdsOnExec for large MaxOpenFiles</title>
<updated>2023-05-11T18:33:03Z</updated>
<author>
<name>say</name>
<email>say@yandex-team.com</email>
</author>
<published>2023-05-11T18:33:03Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/commit/?id=7df1977a606ccd826561ecb88ee0f35ddf92e0f9'/>
<id>urn:sha1:7df1977a606ccd826561ecb88ee0f35ddf92e0f9</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Mute -Wdeprecated-declarations error when thread sanitizer enabled on darwin platform</title>
<updated>2023-05-09T20:03:47Z</updated>
<author>
<name>hiddenpath</name>
<email>hiddenpath@yandex-team.com</email>
</author>
<published>2023-05-09T20:03:47Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/commit/?id=a2b07bdd8ae0998c6f7b5ec402a830da91198ac5'/>
<id>urn:sha1:a2b07bdd8ae0998c6f7b5ec402a830da91198ac5</id>
<content type='text'>
При сборке проектов с ```--sanitize=thread``` под **darwin**, по умолчанию попадет ```util``` и его часть ```system/context.h```, где в случае ```thread_sanitizer_enabled``` выставляется ```USE_UCONTEXT_CONT```, что приводит к использованию [депрекейтнутного](https://opensource.apple.com/source/libplatform/libplatform-125/include/ucontext.h.auto.html) ```&lt;ucontext.h&gt;``` из [macos_sdk](https://a.yandex-team.ru/arcadia/build/platform/macos_sdk/ya.make?rev=rXXXXXX#L6).


Без должных изменений, сборка падает с ошибкой.
```In file included from /Users/hiddenpath/.ya/build/build_root/fnjm/000128/util/all_system_1.cpp:13:
In file included from /Users/hiddenpath/arcadia/util/system/context.cpp:31:
In file included from /Users/hiddenpath/arcadia/util/system/context.h:46:
/Users/hiddenpath/.ya/tools/v4/2088833948/usr/include/ucontext.h:51:2: error: The deprecated ucontext routines require _XOPEN_SOURCE to be defined
#error The deprecated ucontext routines require _XOPEN_SOURCE to be defined
 ^
In file included from /Users/hiddenpath/.ya/build/build_root/fnjm/000128/util/all_system_1.cpp:13:
In file included from /Users/hiddenpath/arcadia/util/system/context.cpp:31:
/Users/hiddenpath/arcadia/util/system/context.h:68:9: error: use of undeclared identifier 'getcontext'
        getcontext(&amp;Ctx_);
        ^
/Users/hiddenpath/arcadia/util/system/context.h:72:9: error: use of undeclared identifier 'getcontext'
        getcontext(&amp;Ctx_);
        ^
/Users/hiddenpath/arcadia/util/system/context.h:80:9: error: use of undeclared identifier 'makecontext'
        makecontext(&amp;Ctx_, (ucontext_func_t)ContextTrampoLine, 1, c.TrampoLine);
        ^
/Users/hiddenpath/arcadia/util/system/context.h:87:9: error: use of undeclared identifier 'swapcontext'
        swapcontext(&amp;Ctx_, &amp;next-&gt;Ctx_);
        ^
5 errors generated.
Failed</content>
</entry>
<entry>
<title>Remove using of extra semicolons in util</title>
<updated>2023-05-04T07:28:45Z</updated>
<author>
<name>bulatman</name>
<email>bulatman@yandex-team.com</email>
</author>
<published>2023-05-04T07:28:45Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/commit/?id=6bccf8a6c51dfc4e563317584ee71ea0637c452a'/>
<id>urn:sha1:6bccf8a6c51dfc4e563317584ee71ea0637c452a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Simplify system utime.h include</title>
<updated>2023-04-27T08:49:01Z</updated>
<author>
<name>spreis</name>
<email>spreis@yandex-team.com</email>
</author>
<published>2023-04-27T08:49:01Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/commit/?id=e3ee28dfc5cdfc85597dc3fad2c368ba8f574d11'/>
<id>urn:sha1:e3ee28dfc5cdfc85597dc3fad2c368ba8f574d11</id>
<content type='text'>
There is no reason now to hide include behind macro: we have sysincls properly working for years</content>
</entry>
<entry>
<title>Add clarifying comment about the behavior of RemoveRecursive is file or directory does not exist.</title>
<updated>2023-04-24T09:06:24Z</updated>
<author>
<name>akhropov</name>
<email>akhropov@yandex-team.com</email>
</author>
<published>2023-04-24T09:06:24Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/commit/?id=69f46d405f28213e905c59854e9a30dc57ee6792'/>
<id>urn:sha1:69f46d405f28213e905c59854e9a30dc57ee6792</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Revert ymake build from ydb oss export</title>
<updated>2023-03-28T19:25:04Z</updated>
<author>
<name>alexv-smirnov</name>
<email>alex@ydb.tech</email>
</author>
<published>2023-03-28T19:25:04Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/commit/?id=b8a17f9b1c166d2e9a26b99348a4c29d972caf55'/>
<id>urn:sha1:b8a17f9b1c166d2e9a26b99348a4c29d972caf55</id>
<content type='text'>
</content>
</entry>
<entry>
<title></title>
<updated>2023-03-28T18:30:10Z</updated>
<author>
<name>pg</name>
<email>pg@yandex-team.com</email>
</author>
<published>2023-03-28T18:30:10Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/commit/?id=25659221f18577ea38430a8ec3349836f5626b6a'/>
<id>urn:sha1:25659221f18577ea38430a8ec3349836f5626b6a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>add library/cpp/actors, ymake build to ydb oss export</title>
<updated>2023-03-15T16:59:12Z</updated>
<author>
<name>alexv-smirnov</name>
<email>alex@ydb.tech</email>
</author>
<published>2023-03-15T16:59:12Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/commit/?id=056bb284ccf8dd6793ec3a54ffa36c4fb2b9ad11'/>
<id>urn:sha1:056bb284ccf8dd6793ec3a54ffa36c4fb2b9ad11</id>
<content type='text'>
</content>
</entry>
<entry>
<title>less shim</title>
<updated>2023-02-06T17:48:31Z</updated>
<author>
<name>pg</name>
<email>pg@yandex-team.com</email>
</author>
<published>2023-02-06T17:48:31Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/commit/?id=6cabb77676668397e5ac0afacc8c68b54c41c86b'/>
<id>urn:sha1:6cabb77676668397e5ac0afacc8c68b54c41c86b</id>
<content type='text'>
К сожалению, люди успели наплодить переменных и методов c именами i64(), ui64(), поэтому для генеренного кода проще всего оказалось завести несколько type alias arc_ui64 -&gt; ui64, и так далее.</content>
</entry>
<entry>
<title>SetLowestThreadPriority in util</title>
<updated>2023-02-01T11:06:22Z</updated>
<author>
<name>ozaykova</name>
<email>ozaykova@yandex-team.com</email>
</author>
<published>2023-02-01T11:06:22Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/commit/?id=99bf72df7c096ea5a2b9015d3bfe4b84fc02c469'/>
<id>urn:sha1:99bf72df7c096ea5a2b9015d3bfe4b84fc02c469</id>
<content type='text'>
</content>
</entry>
</feed>
