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)

1  
static Map<Thread, Bool> _registerThread_threads;
2  
3  
static Thread _registerThread_original(Thread t) {
4  
  if (_registerThread_threads == null)
5  
    _registerThread_threads = newWeakHashMap();
6  
  _registerThread_threads.put(t, true);
7  
  ret t;
8  
}
9  
10  
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: 393 / 452
Version history: 1 change(s)
Referenced in: [show references]