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

3
LINES

< > BotCompany Repo | #1020591 - isInQ - is current thread running inside a Q

JavaX fragment (include)

sbool isInQ(Q q) {
  ret q != null && isCurrentThread(q.rst.thread);
}

download  show line numbers  debug dex  old transpilations   

Travelled to 8 computer(s): bhatertpkbcr, cfunsshuasjs, gwrvuhgaqvyk, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1020591
Snippet name: isInQ - is current thread running inside a Q
Eternal ID of this version: #1020591/1
Text MD5: 5dbb7853d7eee1856708c04c7cd70466
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-12-27 20:39:58
Source code size: 72 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 133 / 156
Referenced in: [show references]

Formerly at http://tinybrain.de/1020591 & http://1020591.tinybrain.de