+/**
+ * Initialize the paraslash scheduler.
+ */
+static void init_sched(void)
+{
+ PARA_INFO_LOG("initializing scheduler\n");
+ INIT_LIST_HEAD(&pre_select_list);
+ INIT_LIST_HEAD(&post_select_list);
+ initialized = 1;
+};
+
+/**
+ * Add a task to the scheduler.
+ *
+ * \param t the task to add
+ *
+ * If the pre_select pointer of \a t is not \p NULL, it is added to
+ * the pre_select list of the scheduler. Same goes for post_select.
+ *
+ * \sa task::pre_select, task::post_select
+ */
+void register_task(struct task *t)