projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
proc: Split cooperative scheduler in coop.c
[bertos.git]
/
bertos
/
kern
/
proc_p.h
diff --git
a/bertos/kern/proc_p.h
b/bertos/kern/proc_p.h
index a0191d8301eaf44b4a1689d729f523a1150de725..6a79eec30d6048194f359f40458e3d8943b39e2d 100644
(file)
--- a/
bertos/kern/proc_p.h
+++ b/
bertos/kern/proc_p.h
@@
-34,7
+34,6
@@
* \brief Internal scheduler structures and definitions for processes.
*
* \version $Id$
* \brief Internal scheduler structures and definitions for processes.
*
* \version $Id$
- *
* \author Bernie Innocenti <bernie@codewiz.org>
*/
* \author Bernie Innocenti <bernie@codewiz.org>
*/
@@
-110,8
+109,7
@@
extern REGISTER List ProcReadyList;
* might vary to implement a different scheduling algorithms.
*
* \note This macro is *NOT* protected against the scheduler. Access to
* might vary to implement a different scheduling algorithms.
*
* \note This macro is *NOT* protected against the scheduler. Access to
- * this list must be protected with a proc_forbid() / proc_premit()
- * pair, or with SCHED_ATOMIC()
+ * this list must be performed with interrupts disabled.
*/
#define SCHED_ENQUEUE(proc) ADDTAIL(&ProcReadyList, &(proc)->link)
*/
#define SCHED_ENQUEUE(proc) ADDTAIL(&ProcReadyList, &(proc)->link)
@@
-133,4
+131,3
@@
void proc_schedule(void);
#endif /* CONFIG_KERN_MONITOR */
#endif /* KERN_PROC_P_H */
#endif /* CONFIG_KERN_MONITOR */
#endif /* KERN_PROC_P_H */
-