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
last version of tesh
[simgrid.git]
/
tools
/
tesh2
/
src
/
reader.c
diff --git
a/tools/tesh2/src/reader.c
b/tools/tesh2/src/reader.c
index
29b1c95
..
4b962a7
100644
(file)
--- a/
tools/tesh2/src/reader.c
+++ b/
tools/tesh2/src/reader.c
@@
-15,6
+15,7
@@
reader_new(command_t command)
reader->command = command;
reader->broken_pipe = 0;
reader->failed = 0;
reader->command = command;
reader->broken_pipe = 0;
reader->failed = 0;
+ reader->done = 0;
reader->started = xbt_os_sem_init(0);
reader->started = xbt_os_sem_init(0);
@@
-127,9
+128,7
@@
reader_start_routine(void* p)
command_handle_failure(command, csr_read_failure);
}
command_handle_failure(command, csr_read_failure);
}
- reader->broken_pipe = 1;
-
- /*printf("the reader of the command %p is ended\n",command);*/
+ reader->done = 1;
return NULL;
}
return NULL;
}