X-Git-Url: https://git.llucax.com/z.facultad/75.74/practicos.git/blobdiff_plain/89195ca63ae56eeb2463b061ab32f5c7acbb71f9..51f24d14e8c4c52776a98c8e2aaacf95f90ad1f4:/practicas/practica2/P02e1201.cpp?ds=sidebyside diff --git a/practicas/practica2/P02e1201.cpp b/practicas/practica2/P02e1201.cpp index c730202..5600630 100644 --- a/practicas/practica2/P02e1201.cpp +++ b/practicas/practica2/P02e1201.cpp @@ -94,13 +94,12 @@ int main(int argc, char *argv[]) cerr << "No se pudo inicializar semaforo.\n"; return 5; } - cout << "Semaforo inicializado id = " << sem_id << "\n"; } srand(getpid()); // Maxima cantidad de iteraciones (puede venir por parametro) - int max_iter = 100; + int max_iter = 10; if (argc > 2) max_iter = atoi(argv[2]);