Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Add stuff to make compute tasks schedulable.
authorsuter <suter@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Thu, 17 Jun 2010 08:52:08 +0000 (08:52 +0000)
committersuter <suter@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Thu, 17 Jun 2010 08:52:08 +0000 (08:52 +0000)
commitee3e6ba1b2e81efa3f9857ed0c8692e165f7131f
tree745b85b19548bcf4b66aa62c3627b9803a768cae
parent6fb08b9c6e18c4fc9d654b581996840ddab93608
Add stuff to make compute tasks schedulable.

Each time a compute task ends, we decrement a counter for the tasks
that are the destination of a transfert from the finishing task. When
this counter reaches 0, the task is SD_SCHEDULABLE (All compute task
parents are in the SD_DONE state).

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@7886 48e7efb5-ca39-0410-a469-dd3cf9ba447f
src/simdag/private.h
src/simdag/sd_global.c
src/simdag/sd_task.c