projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
run_tests: Nicer output, configurable verbosity.
[bertos.git]
/
bertos
/
kern
/
coop.c
diff --git
a/bertos/kern/coop.c
b/bertos/kern/coop.c
index b62a02e43ddb0bedc48336e0675bbc1f81180617..4b2e6b88a5c303598391e776789e4007f67e7681 100644
(file)
--- a/
bertos/kern/coop.c
+++ b/
bertos/kern/coop.c
@@
-27,11
+27,10
@@
* the GNU General Public License.
*
* Copyright 2001, 2004, 2008 Develer S.r.l. (http://www.develer.com/)
* the GNU General Public License.
*
* Copyright 2001, 2004, 2008 Develer S.r.l. (http://www.develer.com/)
- * Copyright 1999, 2000, 2001 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: proc.c 1616 2008-08-10 19:41:26Z bernie $
* \author Bernie Innocenti <bernie@codewiz.org>
*
* \version $Id: proc.c 1616 2008-08-10 19:41:26Z bernie $
* \author Bernie Innocenti <bernie@codewiz.org>
@@
-133,7
+132,7
@@
void proc_schedule(void)
/**
* Co-operative context switch
*/
/**
* Co-operative context switch
*/
-void proc_
switch
(void)
+void proc_
yield
(void)
{
ATOMIC(SCHED_ENQUEUE(CurrentProcess));
{
ATOMIC(SCHED_ENQUEUE(CurrentProcess));