| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273 | /* * This file is part of the StarPU Handbook. * Copyright (C) 2009--2011  Universit@'e de Bordeaux * Copyright (C) 2010, 2011, 2012, 2013, 2014, 2016, 2017  CNRS * Copyright (C) 2011, 2012 INRIA * 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::head    head of the list\var struct starpu_task *starpu_task_list::tail    tail 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(const 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(const struct starpu_task_list *list)\ingroup API_Task_ListsGet the back of \p list (without removing it)\fn int starpu_task_list_empty(const 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(const struct starpu_task_list *list)\ingroup API_Task_ListsGet the first task of \p list.\fn struct starpu_task *starpu_task_list_end(const struct starpu_task_list *list)\ingroup API_Task_ListsGet the end of \p list.\fn struct starpu_task *starpu_task_list_next(const struct starpu_task *task)\ingroup API_Task_ListsGet the next task of \p list. This is not erase-safe.\fn int starpu_task_list_ismember(const struct starpu_task_list *list, const struct starpu_task *look)\ingroup API_Task_ListsTest whether the given task \p look is contained in the \p list.*/
 |