Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 24 Jul 2004 08:59:33 GMT
From:      Julian Elischer <julian@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 58030 for review
Message-ID:  <200407240859.i6O8xXrZ084481@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
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_ */



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200407240859.i6O8xXrZ084481>