From 265714a11e910b54123ae50206fa60c2341c5b88 Mon Sep 17 00:00:00 2001 From: julian Date: Sat, 22 Dec 2007 04:56:48 +0000 Subject: give thread0 the tid 100000 and bumpt the others to start at 100001 MFC after: 1 week --- sys/kern/init_main.c | 1 + 1 file changed, 1 insertion(+) (limited to 'sys/kern/init_main.c') diff --git a/sys/kern/init_main.c b/sys/kern/init_main.c index ed76ff8..41b85e2 100644 --- a/sys/kern/init_main.c +++ b/sys/kern/init_main.c @@ -421,6 +421,7 @@ proc0_init(void *dummy __unused) knlist_init(&p->p_klist, &p->p_mtx, NULL, NULL, NULL); STAILQ_INIT(&p->p_ktr); p->p_nice = NZERO; + td->td_tid = PID_MAX + 1; td->td_state = TDS_RUNNING; td->td_pri_class = PRI_TIMESHARE; td->td_user_pri = PUSER; -- cgit v1.1