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

10
LINES

< > BotCompany Repo | #1016553 // _registerThread_original - don't use

JavaX fragment (include)

static Map<Thread, Bool> _registerThread_threads;

static Thread _registerThread_original(Thread t) {
  if (_registerThread_threads == null)
    _registerThread_threads = newWeakHashMap();
  _registerThread_threads.put(t, true);
  ret t;
}

static void _registerThread_original() { _registerThread_original(Thread.currentThread()); }

Author comment

Began life as a copy of #1008274

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1016553
Snippet name: _registerThread_original - don't use
Eternal ID of this version: #1016553/2
Text MD5: 6638d23cb762fdc9ef435dca03f6d298
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-06-23 15:19:07
Source code size: 342 bytes / 10 lines
Pitched / IR pitched: No / No
Views / Downloads: 323 / 377
Version history: 1 change(s)
Referenced in: [show references]