monitor: Correct preemptive locking
[bertos.git] / bertos / kern / proc_p.h
index 7dad780d4fb03098ce3f388afcee3750acec50bb..d69794103bdd943530c525cce2fe0dbf13eb0c1f 100644 (file)
@@ -98,7 +98,11 @@ extern REGISTER Process      *CurrentProcess;
 extern REGISTER List     ProcReadyList;
 
 
-/** Enqueue a task in the ready list. */
+/**
+ * Enqueue a task in the ready list.
+ *
+ * \note This is *NOT* protected against 
+ */
 #define SCHED_ENQUEUE(proc)  ADDTAIL(&ProcReadyList, &(proc)->link)
 
 /** Schedule to another process *without* adding the current to the ready list. */