diff options
author | Ian Moffett <ian@osmora.org> | 2025-08-11 04:57:52 -0400 |
---|---|---|
committer | Ian Moffett <ian@osmora.org> | 2025-08-11 04:57:52 -0400 |
commit | ac5d6bcfa52d97f3d0d00773506464a256dcb678 (patch) | |
tree | 19071f546ab916099c6d4834be87c1982944a11a /lib | |
parent | 7fc5f9b02fa12918188123167bbfec9178726e53 (diff) |
kernel: Increment g_nthreads in proc_init() only
It seems somewhat dangerous to have to manually increment the number of
threads every time we make a process. This change makes every call to
proc_init() increment the number of threads. The value is decremented
once the process exits.
Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions