doc: Document proc_new(); move documentation around.
[bertos.git] / bertos / kern / proc.c
index e8e2363727382ca04d9aa1052858be7f4f177f5e..57cda38452f6677c9eb41b658024c7fcb104b232 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.
  */