diff options
| author | David Lamparter <equinox@diac24.net> | 2021-04-11 03:59:25 +0200 |
|---|---|---|
| committer | David Lamparter <equinox@opensourcerouting.org> | 2021-06-18 21:05:21 +0200 |
| commit | 78598fd0195510d0d1338bf8c28e606d67e63359 (patch) | |
| tree | 16748cd339dfa0636eb1c6afb3a6803aef927120 /lib/log_vty.c | |
| parent | 8b94cb4388d62ad341ff352266dd5d91780e4eec (diff) | |
lib: cache PID & TID in zlog code
glibc removed its pid cache a while back, and grabbing this from TLS is
faster than repeatedly calling the kernel...
Also use `intmax_t` which is more appropriate for both PID & TID.
Signed-off-by: David Lamparter <equinox@diac24.net>
Diffstat (limited to 'lib/log_vty.c')
0 files changed, 0 insertions, 0 deletions
