Reformat.
[bertos.git] / bertos / kern / proc.c
index e8e2363727382ca04d9aa1052858be7f4f177f5e..6bf67a80c189e72040ae0bbc525b1b3f14fcfe51 100644 (file)
@@ -150,6 +150,14 @@ void proc_init(void)
 /**
  * Create a new process, starting at the provided entry point.
  *
+ *
+ * \note The function
+ * \code
+ * proc_new(entry, data, stacksize, stack)
+ * \endcode
+ * is a more convenient way to create a process, as you don't have to specify
+ * the name.
+ *
  * \return Process structure of new created process
  *         if successful, NULL otherwise.
  */
@@ -244,9 +252,9 @@ struct Process *proc_new_with_name(UNUSED_ARG(const char *, name), void (*entry)
                makecontext(&proc->context, (void (*)(void))proc_entry, 1, entry);
 
        #else // !CONFIG_KERN_PREEMPT
-       
+
                CPU_CREATE_NEW_STACK(proc->stack, entry, proc_exit);
-               
+
        #endif // CONFIG_KERN_PREEMPT
 
        #if CONFIG_KERN_MONITOR