From 32d491f5dc9943929ab10b19dc5d42b4c656a1fb Mon Sep 17 00:00:00 2001 From: bernie Date: Sun, 10 Aug 2008 17:28:56 +0000 Subject: [PATCH] proc:SCHED_ENQUEUE(): Documentation fix. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@1607 38d2e660-2303-0410-9eaa-f027e97ec537 --- bertos/kern/proc_p.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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) -- 2.25.1