X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=bertos%2Fkern%2Fproc_p.h;h=24c02fe3de612b385fa76bbdfc43bb407b0c50e0;hb=32d491f5dc9943929ab10b19dc5d42b4c656a1fb;hp=a0191d8301eaf44b4a1689d729f523a1150de725;hpb=36e34ca0af43a27f0092cc5217192b1c4a0ba104;p=bertos.git diff --git a/bertos/kern/proc_p.h b/bertos/kern/proc_p.h index a0191d83..24c02fe3 100644 --- a/bertos/kern/proc_p.h +++ b/bertos/kern/proc_p.h @@ -110,8 +110,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)