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

10
LINES

< > BotCompany Repo | #1010508 // killThreadsOfExpiredMainClasses

JavaX fragment (include)

1  
static int killThreadsOfExpiredMainClasses() {
2  
  L<Class> l = expiredMainClasses();
3  
  int n = 0;
4  
  for (Class c : l) {
5  
    L<Thread> threads = registeredThreads(c);
6  
    n += l(threads);
7  
    interruptThreads(threads);
8  
  }
9  
  ret n;
10  
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1010508
Snippet name: killThreadsOfExpiredMainClasses
Eternal ID of this version: #1010508/2
Text MD5: 250739cdeeb85bd6c784c1aa5a9f275a
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-09-19 16:48:54
Source code size: 240 bytes / 10 lines
Pitched / IR pitched: No / No
Views / Downloads: 316 / 368
Version history: 1 change(s)
Referenced in: [show references]