1 | static L<RemoteResult> dm_evalOnAllOnlineComputers(S code, O... _) { |
2 | new L<RemoteResult> l; |
3 | for (S computerID : dm_onlineComputers()) pcall-short { |
4 | new RemoteResult out; |
5 | out.computerID = computerID; |
6 | out.initiated = now(); |
7 | try { |
8 | out.result = dm_evalOnOtherMachine_optimizeIfMe(computerID, code); |
9 | } catch e { |
10 | out.error = e; |
11 | } |
12 | out.returned = now(); |
13 | l.add(out); |
14 | } |
15 | ret l; |
16 | } |
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: | #1020337 |
Snippet name: | dm_evalOnAllOnlineComputers (if they allow that). will timeout after 30s if one computer doesn't answer |
Eternal ID of this version: | #1020337/3 |
Text MD5: | 59e653c1a3ac8a2f84f71754b79edf54 |
Author: | stefan |
Category: | javax / stefan's os |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-12-14 18:41:48 |
Source code size: | 435 bytes / 16 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 323 / 353 |
Version history: | 2 change(s) |
Referenced in: | [show references] |