X-Git-Url: https://git.llucax.com/z.facultad/75.74/practicos.git/blobdiff_plain/dfb352c0c066ff99c29291cf5d6d4a41bf005fbf..1c2460a5208afc21ce59fc02a43e521f82b96b01:/practicas/practica2/P02e1201.cpp 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]);