From: bernie Date: Sun, 10 Aug 2008 17:28:56 +0000 (+0000) Subject: proc:SCHED_ENQUEUE(): Documentation fix. X-Git-Tag: 2.0.0~327 X-Git-Url: https://codewiz.org/gitweb?a=commitdiff_plain;h=32d491f5dc9943929ab10b19dc5d42b4c656a1fb;hp=36e34ca0af43a27f0092cc5217192b1c4a0ba104;p=bertos.git proc:SCHED_ENQUEUE(): Documentation fix. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@1607 38d2e660-2303-0410-9eaa-f027e97ec537 --- 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)