X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/dff9e15c44ab6340d27215957c56fa72fad246a2..754c841237ef339b788bd526f0efb1739c245dcb:/include/simdag/datatypes.h diff --git a/include/simdag/datatypes.h b/include/simdag/datatypes.h index 39a49b7115..7634fad865 100644 --- a/include/simdag/datatypes.h +++ b/include/simdag/datatypes.h @@ -1,3 +1,8 @@ +/* Copyright (c) 2007-2009 Da SimGrid Team. All rights reserved. */ + +/* This program is free software; you can redistribute it and/or modify it + * under the terms of the license (GNU LGPL) which comes with this package. */ + #ifndef SIMDAG_DATATYPES_H #define SIMDAG_DATATYPES_H @@ -68,4 +73,15 @@ typedef enum { SD_FAILED = 0x0020 /**< @brief A problem occured during the execution of the task. */ } e_SD_task_state_t; +/** @brief Task kinds + @ingroup SD_datatypes_management + + @see SD_task_management */ +typedef enum { + SD_TASK_NOT_TYPED = 0, /**< @no specified type */ + SD_TASK_COMM_E2E = 1, /**< @brief end to end communication */ + SD_TASK_COMP_SEQ = 2, /**< @brief sequential computation */ +} e_SD_task_kind_t; + + #endif