/*
- * Copyright (C) 2006-2007 Andre Noll <maan@systemlinux.org>
+ * Copyright (C) 2006-2008 Andre Noll <maan@systemlinux.org>
*
* Licensed under the GPL v2. For licencing details see COPYING.
*/
/** \file sched.c paraslash's scheduling functions */
+#include <dirent.h> /* readdir() */
+#include <assert.h>
#include <sys/time.h>
+
#include "para.h"
#include "ipc.h"
#include "fd.h"
*
* \sa task, now.
*/
-int sched(struct sched *s)
+int schedule(struct sched *s)
{
if (!initialized)
return -E_NOT_INITIALIZED;
/**
* unregister all tasks
*
- * This will cause \a sched() to return immediately because both the
+ * This will cause \a schedule() to return immediately because both the
* \a pre_select_list and the \a post_select_list are empty.
*/
void sched_shutdown(void)