summaryrefslogtreecommitdiff
path: root/DevTools/UserspaceEmulator
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2020-07-21 18:45:06 +0200
committerAndreas Kling <kling@serenityos.org>2020-07-21 19:08:01 +0200
commitb820e4626c1a1bde87684807273a7464f160311d (patch)
tree08050a2a8813a8c60b84b3571ef8efae32b50d3c /DevTools/UserspaceEmulator
parent15753e9633be5f157df89423f399e9732a85ce37 (diff)
downloadserenity-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