Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

19
LINES

< > BotCompany Repo | #1015191 // thingsOnScreenDefinitions2

JavaX fragment (include)

sbool thingsOnScreenDefinitions2_alwaysReload;
static SS thingsOnScreenDefinitions2;
static Lock thingsOnScreenDefinitions2_lock = lock();
static double thingsOnScreenDefinitions2_reloadEvery = 10;
static long thingsOnScreenDefinitions2_lastReload;

static SS thingsOnScreenDefinitions2() {
  lock thingsOnScreenDefinitions2_lock;
  if (thingsOnScreenDefinitions2_reloadEvery > 0
    && sysNow() >= thingsOnScreenDefinitions2_lastReload+toMS(thingsOnScreenDefinitions2_reloadEvery)) {
    thingsOnScreenDefinitions2 = null;
  }
  if (thingsOnScreenDefinitions2 == null || thingsOnScreenDefinitions2_alwaysReload) {
    //print("Loading thingsOnScreenDefinitions2");
    thingsOnScreenDefinitions2_lastReload = sysNow();
    thingsOnScreenDefinitions2 = hashMapFromLogFile(screenClipCommentsFile());
  }
  ret thingsOnScreenDefinitions2;
}

Author comment

Began life as a copy of #1010889

download  show line numbers  debug dex  old transpilations   

Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1015191
Snippet name: thingsOnScreenDefinitions2
Eternal ID of this version: #1015191/1
Text MD5: 8a0ffaff859789c1aba7c784c7f2ba2b
Author: stefan
Category: javax / ocr
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-05-10 16:40:28
Source code size: 858 bytes / 19 lines
Pitched / IR pitched: No / No
Views / Downloads: 362 / 403
Referenced in: [show references]