Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
conditions are not semaphores. signals can get lost if delivered before you are waiti...
authormquinson <mquinson@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Thu, 15 Oct 2009 16:26:05 +0000 (16:26 +0000)
committermquinson <mquinson@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Thu, 15 Oct 2009 16:26:05 +0000 (16:26 +0000)
commit7a9c17db0fc11a2255e080c5cc9bb0a0f5642c82
tree545d2833a75c5a8b9b0a86da96785d89a481a26f
parentc319d8c81ab107d5143f9c942a2c8d9eb72ecf6b
conditions are not semaphores. signals can get lost if delivered before you are waiting on the cond. So only wait on the condition if the message were not delevered already, and ignore all this cruft in other cases

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@6791 48e7efb5-ca39-0410-a469-dd3cf9ba447f
src/xbt/xbt_sg_synchro.c