badr benmammar bbm@badr-benmammar.com programmation concurrente et temps réel en java

Download Badr Benmammar bbm@badr-benmammar.com Programmation concurrente et temps réel en Java

Post on 04-Apr-2015

111 views

Category:

Documents

4 download

Embed Size (px)

TRANSCRIPT

  • Page 1
  • Badr Benmammar bbm@badr-benmammar.com Programmation concurrente et temps rel en Java
  • Page 2
  • class BavarderEtLancerLePerroquet4 { public static void main(String args[]) { Perroquet4 perroquet = new blabla(); Perroquet4("coco",5); perroquet.start(); System.out.println ("Thread bavard : " + Thread.currentThread().getName()); for (int n=0; n