Warning: session_start(): open(/var/lib/php/sessions/sess_bh3ins5phst0euvc5fq6hs3sao, 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
sclass SingleThread {
bool running;
Thread thread;
void run(O r) { go(r); }
synchronized bool go(final O runnable) {
if (running) false;
running = true;
thread = startThread("Single Thread", r {
try {
callF(runnable);
} finally {
_done();
}
});
true;
}
synchronized void _done() {
running = false;
thread = null;
}
synchronized bool running() { ret running; }
synchronized Thread thread() { ret thread; }
}