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
/
signal.c
diff --git
a/bertos/kern/signal.c
b/bertos/kern/signal.c
index 3e882cef168775f53367cf0561195bdfd9587495..d4fe178ed75567c21348dc72b1665eb477a608a3 100644
(file)
--- a/
bertos/kern/signal.c
+++ b/
bertos/kern/signal.c
@@
-164,13
+164,13
@@
sigmask_t sig_wait(sigmask_t sigs)
CurrentProcess->sig_wait = sigs;
/*
CurrentProcess->sig_wait = sigs;
/*
- * Go to sleep and proc_s
chedule()
another process.
+ * Go to sleep and proc_s
witch() to
another process.
*
*
- * We re-enable IRQs because proc_s
chedule
() does not
+ * We re-enable IRQs because proc_s
witch
() does not
* guarantee to save and restore the interrupt mask.
*/
IRQ_RESTORE(flags);
* guarantee to save and restore the interrupt mask.
*/
IRQ_RESTORE(flags);
- proc_s
chedule
();
+ proc_s
witch
();
IRQ_SAVE_DISABLE(flags);
/*
IRQ_SAVE_DISABLE(flags);
/*