X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=bertos%2Fkern%2Fproc_p.h;h=6a79eec30d6048194f359f40458e3d8943b39e2d;hb=b812fafcc11015af6fe0ef2b1b0bd81e19cf6eff;hp=a0191d8301eaf44b4a1689d729f523a1150de725;hpb=9607fc3f839ba8914bf9847d7998a14c986881ab;p=bertos.git diff --git a/bertos/kern/proc_p.h b/bertos/kern/proc_p.h index a0191d83..6a79eec3 100644 --- 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$ - * * \author Bernie Innocenti */ @@ -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 - * 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) @@ -133,4 +131,3 @@ void proc_schedule(void); #endif /* CONFIG_KERN_MONITOR */ #endif /* KERN_PROC_P_H */ -