projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
proc_switch(): rename from proc_schedule(). Split out the real cooperative scheduler.
[bertos.git]
/
bertos
/
kern
/
proc.c
diff --git
a/bertos/kern/proc.c
b/bertos/kern/proc.c
index 577f0db43e2d8a6925b55e09229c5461d69a715d..9137dfba9d97af2ecde7b927eee3119750bcf987 100644
(file)
--- a/
bertos/kern/proc.c
+++ b/
bertos/kern/proc.c
@@
-30,8
+30,7
@@
* Copyright 1999, 2000, 2001, 2008 Bernie Innocenti <bernie@codewiz.org>
* -->
*
* Copyright 1999, 2000, 2001, 2008 Bernie Innocenti <bernie@codewiz.org>
* -->
*
- * \brief Simple realtime multitasking scheduler.
- * Context switching is only done cooperatively.
+ * \brief Simple cooperative multitasking scheduler.
*
* \version $Id$
* \author Bernie Innocenti <bernie@codewiz.org>
*
* \version $Id$
* \author Bernie Innocenti <bernie@codewiz.org>
@@
-354,7
+353,7
@@
void proc_exit(void)
#endif /* ARCH_EMUL */
CurrentProcess = NULL;
#endif /* ARCH_EMUL */
CurrentProcess = NULL;
- proc_s
chedule
();
+ proc_s
witch
();
/* not reached */
}
/* not reached */
}