mirror of
https://github.com/facebook/sapling.git
synced 2024-10-05 06:18:07 +03:00
f317c5ac30
Summary: getpid() is an unconditional syscall on Linux/glibc. Therefore, it costs about 250 nanoseconds. There are a couple places in EdenFS where getpid() is an inner-ish loop so use folly::get_cached_pid() instead. Reviewed By: kmancini Differential Revision: D42044221 fbshipit-source-id: e9c8f8a00febeaf6c9a0a3481879040d739038f5 |
||
---|---|---|
.. | ||
fs | ||
integration | ||
locale | ||
mononoke | ||
scm | ||
test_support | ||
test-data | ||
testlib | ||
.clang-tidy | ||
.gitignore | ||
.mononoke_test_file | ||
Eden.project.toml |