reader->command = command;
reader->broken_pipe = 0;
reader->failed = 0;
+ reader->done = 0;
reader->started = xbt_os_sem_init(0);
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;
}