Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/nathanw_sa]: src/sys/sys Change return type of cpu_switch() and mi_switc...



details:   https://anonhg.NetBSD.org/src/rev/b46a868cbfb9
branches:  nathanw_sa
changeset: 504607:b46a868cbfb9
user:      nathanw <nathanw%NetBSD.org@localhost>
date:      Sun Apr 08 20:51:35 2001 +0000

description:
Change return type of cpu_switch() and mi_switch() to int.

diffstat:

 sys/sys/lwp.h |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (25 lines):

diff -r 91560bbd7cda -r b46a868cbfb9 sys/sys/lwp.h
--- a/sys/sys/lwp.h     Sun Apr 08 20:31:41 2001 +0000
+++ b/sys/sys/lwp.h     Sun Apr 08 20:51:35 2001 +0000
@@ -1,4 +1,4 @@
-/*     $Id: lwp.h,v 1.1.2.1 2001/03/05 22:50:02 nathanw Exp $  */
+/*     $Id: lwp.h,v 1.1.2.2 2001/04/08 20:51:35 nathanw Exp $  */
 
 /* XXX Copyright 
 */
@@ -105,13 +105,13 @@
 
 
 void   preempt (struct lwp *);
-void   mi_switch (struct lwp *, struct lwp *);
+int    mi_switch (struct lwp *, struct lwp *);
 void   remrunqueue (struct lwp *);
 void   resetpriority (struct lwp *);
 void   setrunnable (struct lwp *);
 void   setrunqueue (struct lwp *);
 void   unsleep (struct lwp *);
-void   cpu_switch (struct lwp *);
+int    cpu_switch (struct lwp *);
 void   cpu_preempt (struct lwp *, struct lwp *);
 
 int newlwp(struct lwp *, struct proc *, vaddr_t, int,



Home | Main Index | Thread Index | Old Index