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).

static x30_pkg.x30_util.BetterThreadLocal<Runnable> newPing_actionTL;

static x30_pkg.x30_util.BetterThreadLocal<Runnable> newPing_actionTL() {
  if (newPing_actionTL == null)
    newPing_actionTL = vm_generalMap_getOrCreate("newPing_actionTL",
      () -> {
        Runnable value = cast callF_gen(vm_generalMap_get("newPing_valueForNewThread"));
        var tl = new x30_pkg.x30_util.BetterThreadLocal<Runnable>();
        tl.set(value);
        ret tl;
      });
  ret newPing_actionTL;
}

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: 289 / 371
Version history: 13 change(s)
Referenced in: [show references]