X-Git-Url: https://git.llucax.com/z.facultad/75.74/practicos.git/blobdiff_plain/f4328fdae5f3d2e093921ecea5ac4b5bd0d351c8..51f24d14e8c4c52776a98c8e2aaacf95f90ad1f4:/practicas/practica2/P02e1101.cpp diff --git a/practicas/practica2/P02e1101.cpp b/practicas/practica2/P02e1101.cpp index 9a48aae..4d8989e 100644 --- a/practicas/practica2/P02e1101.cpp +++ b/practicas/practica2/P02e1101.cpp @@ -104,13 +104,11 @@ int main(int argc, char *argv[]) return 3; } - cout << "Shared memory id = " << shm_id << "\n"; - // Si somos el primer proceso inicializamos el molinete if (proc == 0) molinete_init(*molinete); // Maxima cantidad de iteraciones (puede venir por parametro) - int max_iter = 100; + int max_iter = 10; if (argc > 2) max_iter = atoi(argv[2]);