Warning: session_start(): open(/var/lib/php/sessions/sess_4t5aeesv2cft6ine48qtlcmmsa, 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 FlexThreadLocal extends BetterThreadLocal {
static Map motherThreads = weakMap();
public A get() {
ret get(grandMotherThread());
}
void set(A a) {
map.put(grandMotherThread(), a);
}
static Thread grandMotherThread(Thread t default currentThread()) {
ret applyWhileNotNull motherThread(t);
}
static void setMotherThread(Thread t) {
mapPutOrRemove(motherThreads, currentThread(), grandMotherThread(t));
}
static Thread motherThread(Thread t default currentThread()) {
ret mapGet(motherThreads, t);
}
}