diff options
author | Ian Moffett <ian@osmora.org> | 2025-07-16 19:33:13 -0400 |
---|---|---|
committer | Ian Moffett <ian@osmora.org> | 2025-07-16 19:33:13 -0400 |
commit | 015984a53e6b9b089566762ec00973d3aa126ae3 (patch) | |
tree | 7a654283b06c67434c9b2936efe648f464a79600 /lib/libc/src/musl-math/lgamma.c | |
parent | a66c3f8d3d1f70beb3147999db21229803eb7021 (diff) |
kernel: proc: Decrement proc count on exit
Previously, our process counter was monotonic (wuh oh!). We want to be
sure that it decrements when a process exits.
- Rename nthreads to g_nthreads as a global
- Atomically increment on enter and decrement on exit
Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'lib/libc/src/musl-math/lgamma.c')
0 files changed, 0 insertions, 0 deletions