sbool thingsOnScreenDefinitions_alwaysReload; static SS thingsOnScreenDefinitions; static Lock thingsOnScreenDefinitions_lock = lock(); static double thingsOnScreenDefinitions_reloadEvery = 10; static long thingsOnScreenDefinitions_lastReload; static SS thingsOnScreenDefinitions() { lock thingsOnScreenDefinitions_lock; if (thingsOnScreenDefinitions_reloadEvery > 0 && sysNow() >= thingsOnScreenDefinitions_lastReload+toMS(thingsOnScreenDefinitions_reloadEvery)) { thingsOnScreenDefinitions = null; } if (thingsOnScreenDefinitions == null || thingsOnScreenDefinitions_alwaysReload) { //print("Loading thingsOnScreenDefinitions"); thingsOnScreenDefinitions_lastReload = sysNow(); thingsOnScreenDefinitions = persistentHashMapFromProgram(thingsOnScreenDefinitionsDBID(), "Comments"); } ret thingsOnScreenDefinitions; }
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: | #1015194 |
Snippet name: | thingsOnScreenDefinitions_oldDB |
Eternal ID of this version: | #1015194/1 |
Text MD5: | 471ea4e0d34d1b530107dfeb3e3fd55f |
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 17:43:49 |
Source code size: | 870 bytes / 19 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 347 / 381 |
Referenced in: | [show references] |