A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[s4u] Allocate Actors on the heap and return ActorPtr
[simgrid.git]
/
src
/
simix
/
SynchroIo.cpp
diff --git
a/src/simix/SynchroIo.cpp
b/src/simix/SynchroIo.cpp
index
dd2f2e2
..
812bbaf
100644
(file)
--- a/
src/simix/SynchroIo.cpp
+++ b/
src/simix/SynchroIo.cpp
@@
-22,10
+22,7
@@
void simgrid::simix::Io::resume()
void simgrid::simix::Io::post()
{
void simgrid::simix::Io::post()
{
- xbt_fifo_item_t i;
- smx_simcall_t simcall;
-
- xbt_fifo_foreach(simcalls,i,simcall,smx_simcall_t) {
+ for (smx_simcall_t simcall : simcalls) {
switch (simcall->call) {
case SIMCALL_FILE_OPEN: {
smx_file_t tmp = xbt_new(s_smx_file_t,1);
switch (simcall->call) {
case SIMCALL_FILE_OPEN: {
smx_file_t tmp = xbt_new(s_smx_file_t,1);