X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=sched.c;h=2b54ce194fae897842ac94b39ff597828c8de8c4;hp=4c94c423a548a8ddec894f1fcef4b28b14a6a003;hb=869f0e06ec4e15abc9230c1b2d7615da5250802e;hpb=d16fe3df649cb48d5ffa26187da3dad4c3066646 diff --git a/sched.c b/sched.c index 4c94c423..2b54ce19 100644 --- a/sched.c +++ b/sched.c @@ -1,5 +1,5 @@ /* - * Copyright (C) 2006-2011 Andre Noll + * Copyright (C) 2006-2012 Andre Noll * * Licensed under the GPL v2. For licencing details see COPYING. */ @@ -192,6 +192,8 @@ void register_task(struct sched *s, struct task *t) /** * Unregister all tasks. * + * \param s The scheduler instance to shut down. + * * This will cause \a schedule() to return immediately because both the * \a pre_select_list and the \a post_select_list are empty. This function * must be called from the post_select (rather than the pre_select) method. @@ -213,6 +215,8 @@ void sched_shutdown(struct sched *s) /** * Get the list of all registered tasks. * + * \param s The scheduler instance to get the task list from. + * * \return The task list. * * Each entry of the list contains an identifier which is simply a hex number.