Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781
[phpBB Debug] PHP Notice: in file /bbc_download.php on line 73: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /bbc_download.php on line 74: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /bbc_download.php on line 75: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /bbc_download.php on line 76: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /bbc_download.php on line 77: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /bbc_download.php on line 78: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
package projet.paradigmes; import android.util.Log; public class Philosophe extends Thread { private static final String TAG = "MyActivity"; public enum Etat {PENSE, DESIREMANGER, MANGE}; private Etat etat; private int id; private Table table; private Philosophes GUI; public Philosophe (int n, Table t, Philosophes GUI) { this.id = n; // Numéro d'identification du philosophe this.etat = Etat.PENSE; // A l'initialisation, le philosophe pense this.table = t; // La table du philosophe this.GUI = GUI; } public Runnable getNotifyPenseGUI () { return new Runnable() { public void run() { GUI.setPense(id); } }; } public Runnable getNotifyMangeGUI () { return new Runnable() { public void run() { GUI.setMange(id); } }; } public Runnable getNotifyDesireMangerGUI () { return new Runnable() { public void run() { GUI.setDesireManger(id); } }; } public Etat getEtat() { return etat; } public void setEtat(Etat etat) { this.etat = etat; } public void run () { int i = 0; while (i<15) { try { table.desirePenser(id); sleep(500); table.desireManger(id); sleep(2000); i++; } catch (InterruptedException ie) { Log.e(TAG,ie.getMessage()); } } } }