Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
ensures that runall is never called on empty set
authorMartin Quinson <martin.quinson@loria.fr>
Mon, 15 Oct 2012 22:52:43 +0000 (00:52 +0200)
committerMartin Quinson <martin.quinson@loria.fr>
Mon, 15 Oct 2012 22:52:43 +0000 (00:52 +0200)
commit714a970003a5bccec9a46b0a4e0b42b5d980ea2f
treed1372c3d3212e577141f64afc94c2dc329150cc3
parentac2162b716c1a99ffb3f8defa67d37e7c748d629
ensures that runall is never called on empty set

Not sure of when it can happen, but it does, forcing the context
factories to be defensive. This was causing issues in java coroutines
as this factory was not defensive enough. So avoiding future issues
seems interesting to me.
src/simix/smx_context_raw.c
src/simix/smx_context_sysv.c
src/simix/smx_private.h