






Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
programacion en java ejercios de progtram concurrente
Typology: Assignments
1 / 10
This page cannot be seen from the preview
Don't miss anything!







bandera[0] = 0 bandera[1] = 0 turno = 0 p0: bandera[0] = 1 p1: bandera[1] = 1 turno = 1 turno = 0 while( bandera[1] && turno == 1 ); while( bandera[0] && turno == 0 ); //no hace nada; espera. //no hace nada; espera. // sección crítica // sección crítica
// fin de la sección crítica // fin de la sección crítica bandera[0] = 0 bandera[1] = 0
https://prezi.com/8zl-qqeyjkdq/algoritmo-de-peterson/ https://esacademic.com/dic.nsf/eswiki/ https://www.studocu.com/es/document/universidad-nacional- autonoma-de-honduras/sistemas-operativos-i/ejercicios- obligatorios/algoritmo-dekker-peterson/5699497/view https://es.wikipedia.org/wiki/Algoritmo_de_Peterson#:~:text=El %20algoritmo%20de%20Peterson%2C%20tambi%C3%A9n,me moria%20compartida%20para%20la%20comunicaci%C3%B3n. https://www2.infor.uva.es/~cllamas/concurr/pract98/sisos4/ind ex.html#primero