actually, we need only parent after fork callback __FORCE_COMMIT__
@@ -14,7 +14,7 @@ namespace {
(void)AtFork;
#if defined(_unix_)
- Y_ENSURE(pthread_atfork(AtFork, AtFork, nullptr) == 0, "it happens");
+ Y_ENSURE(pthread_atfork(nullptr, AtFork, nullptr) == 0, "it happens");
#endif
}
