In rucheck() sum up the tusage from all threads to get the real current
authorclaudio <claudio@openbsd.org>
Thu, 3 Oct 2024 10:20:05 +0000 (10:20 +0000)
committerclaudio <claudio@openbsd.org>
Thu, 3 Oct 2024 10:20:05 +0000 (10:20 +0000)
commit79e5ab1ff58731a1cc508aac9e30affe8c359b78
treea877e1b27b6d46d918580e514a99150bd6485eef
parent86fc7c5435d86d05465bee00afc5c28219b4a017
In rucheck() sum up the tusage from all threads to get the real current
runtime of the process. Also this no longer needs the SCHED_LOCK().
OK mpi@
sys/kern/kern_resource.c