kernel: Let thread IDs start at 1 instead of 0.
authorSascha Wildner <saw@online.de>
Sat, 8 Jul 2017 09:19:19 +0000 (11:19 +0200)
committerSascha Wildner <saw@online.de>
Sat, 8 Jul 2017 09:19:19 +0000 (11:19 +0200)
commit526c5c2b3cfa2931f832ff9c0ccf4c238e482faf
tree687bccef899e54d5ca29adf74534a66321af88bc
parent035b4e5e515ea9cc3be46d108b95eae2e094223a
kernel: Let thread IDs start at 1 instead of 0.

This is helpful in various places, for example Chromium.

Reported-by: ivadasz
Submitted-by: sephe
Approved-by: dillon
sys/kern/imgact_elf.c
sys/kern/init_main.c
sys/kern/kern_fork.c
sys/sys/param.h
sys/sys/proc.h