domingo, 11 de septiembre de 2011

Implement a condition variable using semaphores.

Class: ConditionSemaphores

Lock cl;
SemaphoreLinkedList waitQueue;


function: Constructor(Lock *cl)


function: sleep


function: wake


function: wakeall
Reference: we use the code of the Condition variables of the nachos (java version)

2 comentarios:

  1. Aquí falta mencionar las referencias a las cuales se apoyaron en realizar esta solución.

    ResponderEliminar
  2. Este comentario ha sido eliminado por el autor.

    ResponderEliminar