diff options
author | Andreas Kling <kling@serenityos.org> | 2020-07-21 18:45:06 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-07-21 19:08:01 +0200 |
commit | b820e4626c1a1bde87684807273a7464f160311d (patch) | |
tree | 08050a2a8813a8c60b84b3571ef8efae32b50d3c /DevTools/UserspaceEmulator | |
parent | 15753e9633be5f157df89423f399e9732a85ce37 (diff) | |
download | serenity-b820e4626c1a1bde87684807273a7464f160311d.zip |
LibC: Add a cache for getpid()
This works the same as gettid(). No sense in making a syscall to the
kernel every time you ask for the PID since it won't change.
Just like gettid(), the cache is invalidated on fork().
Diffstat (limited to 'DevTools/UserspaceEmulator')
0 files changed, 0 insertions, 0 deletions