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

13
LINES

< > BotCompany Repo | #1031413 // newPing_actionTL - ThreadLocal for new ping function

JavaX fragment (include) [tags: use-pretranspiled]

Libraryless. Click here for Pure Java version (3882L/22K).

1  
static x30_pkg.x30_util.BetterThreadLocal<Runnable> newPing_actionTL;
2  
3  
static x30_pkg.x30_util.BetterThreadLocal<Runnable> newPing_actionTL() {
4  
  if (newPing_actionTL == null)
5  
    newPing_actionTL = vm_generalMap_getOrCreate("newPing_actionTL",
6  
      () -> {
7  
        Runnable value = cast callF_gen(vm_generalMap_get("newPing_valueForNewThread"));
8  
        var tl = new x30_pkg.x30_util.BetterThreadLocal<Runnable>();
9  
        tl.set(value);
10  
        ret tl;
11  
      });
12  
  ret newPing_actionTL;
13  
}

download  show line numbers  debug dex  old transpilations   

Travelled to 4 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, vouqrxazstgt

No comments. add comment

Snippet ID: #1031413
Snippet name: newPing_actionTL - ThreadLocal for new ping function
Eternal ID of this version: #1031413/14
Text MD5: c471cc4969028ba17f48c99d438b6386
Transpilation MD5: 2ece06825649b11d6e792a1489e538c3
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-10-23 00:19:39
Source code size: 505 bytes / 13 lines
Pitched / IR pitched: No / No
Views / Downloads: 291 / 375
Version history: 13 change(s)
Referenced in: [show references]