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).

!747
!named thread

m {
  static new LinkedBlockingQueue<S> queue;
  static new L<S> done;
  
  p {
    thread "Executor" {
      for (S input : iterateOverBlockingQueue(queue))
        process(input);
    }
  }
  
  static void process(S input) {
    // TODO
  }
}

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: 675 / 698
Referenced in: [show references]