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

18
LINES

< > BotCompany Repo | #1001575 // Remote Controlled Bot (developing)

JavaX source code [tags: use-pretranspiled] - run with: x30.jar

Libraryless. Click here for Pure Java version (72L/1K/4K).

1  
!747
2  
!named thread
3  
4  
m {
5  
  static new LinkedBlockingQueue<S> queue;
6  
  static new L<S> done;
7  
  
8  
  p {
9  
    thread "Executor" {
10  
      for (S input : iterateOverBlockingQueue(queue))
11  
        process(input);
12  
    }
13  
  }
14  
  
15  
  static void process(S input) {
16  
    // TODO
17  
  }
18  
}

download  show line numbers  debug dex  old transpilations   

Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, onxytkatvevr, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1001575
Snippet name: Remote Controlled Bot (developing)
Eternal ID of this version: #1001575/1
Text MD5: f698599e51052a812aa04a8a794bc7fc
Transpilation MD5: f6004ca13086f9d4ddc60847be16c354
Author: stefan
Category: javax
Type: JavaX source code
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2015-10-25 14:57:25
Source code size: 282 bytes / 18 lines
Pitched / IR pitched: No / Yes
Views / Downloads: 676 / 699
Referenced in: [show references]