Warning: session_start(): open(/var/lib/php/sessions/sess_4aov56ol0jkitasbne9i6epshd, O_RDWR) failed: No space left on device (28) in /var/www/tb-usercake/models/config.php on line 51
Warning: session_start(): Failed to read session data: files (path: /var/lib/php/sessions) in /var/www/tb-usercake/models/config.php on line 51
static class MonoThread {
Thread t;
boolean runIfNotRunning(final Runnable r) {
ret run(r);
}
synchronized boolean run(final Runnable r) {
if (t == null) {
t = new Thread() {
public void run() {
try {
r.run();
} catch (Throwable e) {
e.printStackTrace();
} finally {
synchronized(MonoThread.this) {
t = null;
}
}
}
};
t.start();
return true;
} else
return false;
}
}