From owner-p4-projects@FreeBSD.ORG Sat Jul 24 08:59:34 2004 Return-Path: Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id 4EBC616A4D0; Sat, 24 Jul 2004 08:59:34 +0000 (GMT) Delivered-To: perforce@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1F13C16A4CE for ; Sat, 24 Jul 2004 08:59:34 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1A65E43D3F for ; Sat, 24 Jul 2004 08:59:34 +0000 (GMT) (envelope-from julian@freebsd.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.11/8.12.11) with ESMTP id i6O8xX05084484 for ; Sat, 24 Jul 2004 08:59:33 GMT (envelope-from julian@freebsd.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.12.11/8.12.11/Submit) id i6O8xXrZ084481 for perforce@freebsd.org; Sat, 24 Jul 2004 08:59:33 GMT (envelope-from julian@freebsd.org) Date: Sat, 24 Jul 2004 08:59:33 GMT Message-Id: <200407240859.i6O8xXrZ084481@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to julian@freebsd.org using -f From: Julian Elischer To: Perforce Change Reviews Subject: PERFORCE change 58030 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 Jul 2004 08:59:34 -0000 http://perforce.freebsd.org/chv.cgi?CH=58030 Change 58030 by julian@julian_ref on 2004/07/24 08:58:33 change a function name to match others. Affected files ... .. //depot/projects/nsched/sys/kern/kern_thread.c#30 edit .. //depot/projects/nsched/sys/kern/sched_4bsd.c#29 edit .. //depot/projects/nsched/sys/kern/sched_ule.c#17 edit .. //depot/projects/nsched/sys/sys/sched.h#10 edit Differences ... ==== //depot/projects/nsched/sys/kern/kern_thread.c#30 (text+ko) ==== @@ -187,7 +187,7 @@ /* NOTREACHED */ } #endif - sched_init_thread(td); /* ready for use (again) */ + sched_newthread(td); /* ready for use (again) */ } /* @@ -242,7 +242,7 @@ cpu_thread_setup(td); td->td_sleepqueue = sleepq_alloc(); td->td_turnstile = turnstile_alloc(); - sched_init_thread(td); + sched_newthread(td); } ==== //depot/projects/nsched/sys/kern/sched_4bsd.c#29 (text+ko) ==== @@ -1295,7 +1295,7 @@ */ /* Assumes td->td_sched is already set up */ void -sched_init_thread(struct thread *td) +sched_newthread(struct thread *td) { } ==== //depot/projects/nsched/sys/kern/sched_ule.c#17 (text+ko) ==== @@ -2262,7 +2262,7 @@ */ /* Assumes td->td_sched is already set up */ void -sched_init_thread(struct thread *td) +sched_newthread(struct thread *td) { td->td_last_kse = NULL; td->td_kse = NULL; ==== //depot/projects/nsched/sys/sys/sched.h#10 (text+ko) ==== @@ -117,6 +117,6 @@ void sched_GC(void); void sched_set_concurrancy(struct ksegrp *kg, int concurrancy); void sched_init_ksegrp(struct ksegrp *kg); -void sched_init_thread(struct thread *td); +void sched_newthread(struct thread *td); void sched_clean_ksegrp(struct ksegrp *kg, struct thread *td); #endif /* !_SYS_SCHED_H_ */