diff options
author | julian <julian@FreeBSD.org> | 2007-12-22 04:56:48 +0000 |
---|---|---|
committer | julian <julian@FreeBSD.org> | 2007-12-22 04:56:48 +0000 |
commit | 265714a11e910b54123ae50206fa60c2341c5b88 (patch) | |
tree | f67efe798f038bff8381cf9b58a18b3951be9f22 /sys/kern/init_main.c | |
parent | 7d4fbe3a460f1f0264634f55f355da4e379ca391 (diff) | |
download | FreeBSD-src-265714a11e910b54123ae50206fa60c2341c5b88.zip FreeBSD-src-265714a11e910b54123ae50206fa60c2341c5b88.tar.gz |
give thread0 the tid 100000 and bumpt the others to start at 100001
MFC after: 1 week
Diffstat (limited to 'sys/kern/init_main.c')
-rw-r--r-- | sys/kern/init_main.c | 1 |
1 files changed, 1 insertions, 0 deletions
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; |