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

8
LINES

< > BotCompany Repo | #1020012 // killAllOtherVMsAndWait

JavaX fragment (include)

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

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: 292 / 323
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)