1 | static void runInAllVMs(S programID) {
|
2 | print("Injecting program to all VMs...");
|
3 | |
4 | // inject to VMs |
5 | L<Injection> injections = injectToAll(programID); |
6 | |
7 | // wait until injections ended |
8 | waitUntilInjectionsDone(injections); |
9 | |
10 | print("Getting output of " + l(injections) + " injection(s).");
|
11 | L<S> output = getOutputOfInjections(injections); |
12 | for (int i = 0; i < l(injections); i++) {
|
13 | print(); |
14 | print("VM " + injections.get(i).vmPort + ":");
|
15 | print(rtrim(output.get(i))); |
16 | } |
17 | |
18 | // release injections (TODO) |
19 | } |
Began life as a copy of #1001628
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: | #1001779 |
| Snippet name: | runInAllVMs (and duplicate output to our own System.out) |
| Eternal ID of this version: | #1001779/1 |
| Text MD5: | 8edade200a8703258111c6cccc77eb9a |
| Author: | stefan |
| Category: | |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2015-11-14 18:18:59 |
| Source code size: | 548 bytes / 19 lines |
| Pitched / IR pitched: | No / Yes |
| Views / Downloads: | 816 / 1056 |
| Referenced in: | [show references] |