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

4
LINES

< > BotCompany Repo | #1029513 // cancelThreadUnlessCurrent

JavaX fragment (include)

svoid cancelThreadUnlessCurrent(Thread t) {
  if (t == null || t == currentThread()) ret;
  cancelThread(t);
}

Author comment

Began life as a copy of #1029511

download  show line numbers  debug dex  old transpilations   

Travelled to 7 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv

No comments. add comment

Snippet ID: #1029513
Snippet name: cancelThreadUnlessCurrent
Eternal ID of this version: #1029513/1
Text MD5: 76e941135c7755a1e078b2e2e54b9e72
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-08-16 19:41:27
Source code size: 113 bytes / 4 lines
Pitched / IR pitched: No / No
Views / Downloads: 213 / 240
Referenced in: [show references]