PERFORCE change 58030 for review
Julian Elischer
julian at FreeBSD.org
Sat Jul 24 01:59:34 PDT 2004
http://perforce.freebsd.org/chv.cgi?CH=58030
Change 58030 by julian at 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_ */
More information about the p4-projects
mailing list