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

4
LINES

< > BotCompany Repo | #1011685 // isSystemThread

JavaX fragment (include)

static bool isSystemThread(Thread t) {
  ThreadGroup g = t.getThreadGroup();
  ret g != null && g.getName().equals("system");
}

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: #1011685
Snippet name: isSystemThread
Eternal ID of this version: #1011685/1
Text MD5: 24f95f9396112d580f47cb5d1b6ac159
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-11-02 05:12:11
Source code size: 130 bytes / 4 lines
Pitched / IR pitched: No / No
Views / Downloads: 438 / 475
Referenced in: [show references]