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

7
LINES

< > BotCompany Repo | #1031683 // dm_current_generic_tl

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

Libraryless. Click here for Pure Java version (2871L/17K).

static x30_pkg.x30_util.BetterThreadLocal<WeakReference> dm_current_generic_tl;

static x30_pkg.x30_util.BetterThreadLocal<WeakReference> dm_current_generic_tl() {
  if (dm_current_generic_tl == null)
    dm_current_generic_tl = vm_generalMap_getOrCreate("currentModule", () -> new x30_pkg.x30_util.BetterThreadLocal());
  ret dm_current_generic_tl;
}

Author comment

Began life as a copy of #1020875

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1031683
Snippet name: dm_current_generic_tl
Eternal ID of this version: #1031683/1
Text MD5: ea94505ca7f087fe4d9ee62a35df42be
Transpilation MD5: 0da7ce1a65daac0420475397b16094da
Author: stefan
Category: javax / stefan's os
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-06-27 00:08:44
Source code size: 357 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 182 / 277
Referenced in: [show references]