bsd-user: Set TaskState ts_tid for initial threads
authorJessica Clarke <jrtc27@jrtc27.com>
Wed, 19 Jun 2024 20:40:25 +0000 (21:40 +0100)
committerWarner Losh <imp@bsdimp.com>
Tue, 5 Nov 2024 03:26:40 +0000 (20:26 -0700)
commit52a523af71448f62e8523ed002447c95170381e9
treec7bfecedc39048b04a201338b9da2c0ba3a4da4c
parent89974523346abad6c9a67d99e3ae0fe1385a5ecb
bsd-user: Set TaskState ts_tid for initial threads

Currently we only set it on fork.

Note: Upstream (blitz) commit also did new threads, but that code isn't
in qemu project repo yet.

Signed-off-by: Jessica Clarke <jrtc27@jrtc27.com>
Pull-Request: https://github.com/qemu-bsd-user/qemu-bsd-user/pull/52
Reviewed-by: Warner Losh <imp@bsdimp.com>
Signed-off-by: Warner Losh <imp@bsdimp.com>
bsd-user/main.c