| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869 | /* * This file is part of the StarPU Handbook. * Copyright (C) 2009--2011  Universit@'e de Bordeaux * Copyright (C) 2010, 2011, 2012, 2013, 2014  Centre National de la Recherche Scientifique * Copyright (C) 2011, 2012 Institut National de Recherche en Informatique et Automatique * See the file version.doxy for copying conditions. *//*! \defgroup API_Task_Lists Task Lists\struct starpu_task_listStores a double-chained list of tasks\ingroup API_Task_Lists\var struct starpu_task *starpu_task_list::headhead of the list\var struct starpu_task *starpu_task_list::tailtail of the list\fn void starpu_task_list_init(struct starpu_task_list *list)\ingroup API_Task_ListsInitialize a list structure\fn void starpu_task_list_push_front(struct starpu_task_list *list, struct starpu_task *task)\ingroup API_Task_ListsPush \p task at the front of \p list\fn void starpu_task_list_push_back(struct starpu_task_list *list, struct starpu_task *task)\ingroup API_Task_ListsPush \p task at the back of \p list\fn struct starpu_task *starpu_task_list_front(struct starpu_task_list *list)\ingroup API_Task_ListsGet the front of \p list (without removing it)\fn struct starpu_task *starpu_task_list_back(struct starpu_task_list *list)\ingroup API_Task_ListsGet the back of \p list (without removing it)\fn int starpu_task_list_empty(struct starpu_task_list *list)\ingroup API_Task_ListsTest if \p list is empty\fn void starpu_task_list_erase(struct starpu_task_list *list, struct starpu_task *task)\ingroup API_Task_ListsRemove \p task from \p list\fn struct starpu_task *starpu_task_list_pop_front(struct starpu_task_list *list)\ingroup API_Task_ListsRemove the element at the front of \p list\fn struct starpu_task *starpu_task_list_pop_back(struct starpu_task_list *list)\ingroup API_Task_ListsRemove the element at the back of \p list\fn struct starpu_task *starpu_task_list_begin(struct starpu_task_list *list)\ingroup API_Task_ListsGet the first task of \p list.\fn struct starpu_task *starpu_task_list_end(struct starpu_task_list *list)\ingroup API_Task_ListsGet the end of \p list.\fn struct starpu_task *starpu_task_list_next(struct starpu_task *task)\ingroup API_Task_ListsGet the next task of \p list. This is not erase-safe.*/
 |