Warning: session_start(): open(/var/lib/php/sessions/sess_km78ojcir72rogqve8ophe3slf, 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
!7
sclass Entry {
WeakReference thread;
long threadID;
S threadName, stackTrace;
}
cmodule2 RunnableThreads > DynObjectTable {
start {
dontPersist();
//itemToMap = func(Thread t) -> Map { litorderedmap("Name" := t.getName()) };
dm_doEveryAndNow(2.0, r actualUpdate);
}
void actualUpdate enter {
setData(map(runnableThreadsWithStackTraces(),
(t, st) -> nu Entry(
thread := weakRef(t),
threadID := threadID(t),
threadName := t.getName(),
stackTrace := stackTraceToString(st))));
}
afterVisualize {
popupMenuItem_top("Cancel thread", voidfunc(Entry e) {
cancelForeignThread(e.thread!);
});
}
}