Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Semaphores are more complicated than mutexes since they can be linked with actions...
authordonassbr <donassbr@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Thu, 8 Apr 2010 17:31:19 +0000 (17:31 +0000)
committerdonassbr <donassbr@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Thu, 8 Apr 2010 17:31:19 +0000 (17:31 +0000)
commit9ea82aa2fb1e9d72ee527af3570bec255f030032
treece254014e043a4505dbf682ae28cd7d3f240218d
parent1d83762040b2315fb5f9944708416945cec72f68
Semaphores are more complicated than mutexes since they can be linked with actions. Use the same idea of conditions to implement the process_resume/process_suspend with semaphores.
Use SIMIX functions to resume/suspend actions.

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@7488 48e7efb5-ca39-0410-a469-dd3cf9ba447f
src/simix/smx_network.c
src/simix/smx_process.c