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

8
LINES

< > BotCompany Repo | #1020012 // killAllOtherVMsAndWait

JavaX fragment (include)

1  
svoid killAllOtherVMsAndWait() {
2  
  killAllOtherVMs();
3  
  int n;
4  
  while ((n = l(allVMPorts())-1) > 0) {
5  
    print("Waiting for " + n2(n, "JavaX VM") + " to shut down...");
6  
    sleepSeconds(1);
7  
  }
8  
}

Author comment

Began life as a copy of #1020004

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1020012
Snippet name: killAllOtherVMsAndWait
Eternal ID of this version: #1020012/1
Text MD5: 8fbb7ef30b845d2396102fe07a57773f
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-12-03 23:18:14
Source code size: 204 bytes / 8 lines
Pitched / IR pitched: No / No
Views / Downloads: 293 / 325
Referenced in: [show references]