Précédent Remonter Suivant


notifyAll
public final void notifyAll()
La méthode notifyAll est une méthode de la classe Object.
Elle permet d'activé tous les Thread bloqué par un wait sur un Objet.
La méthode notifyAll doit être invoquée à l'intérieur d'une méthode de type
synchronized sinon on a une exception IllegalMonitorStateException.

- 45 -

  Alain Bouju Thread


Précédent Remonter Suivant