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

18
LINES

< > BotCompany Repo | #1006002 // Test safe DB threading with foreign injections

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

Libraryless. Click here for Pure Java version (6620L/44K/148K).

!752

concepts.

p {
  conceptsAndBot();
  
  while licensed {
    mainConcepts.lock.lock();
    try {
      print("Sleeping locked for 5...");
      sleepSeconds(5);
      print("Done!");
    } finally {
      mainConcepts.lock.unlock();
    }
  }
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1006002
Snippet name: Test safe DB threading with foreign injections
Eternal ID of this version: #1006002/1
Text MD5: 63454e61aa00b6e36db8c67c68648687
Transpilation MD5: 743c76ad4aa57e001debed295e160413
Author: stefan
Category: javax / concepts / ipc
Type: JavaX source code
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2016-12-14 02:29:37
Source code size: 267 bytes / 18 lines
Pitched / IR pitched: No / No
Views / Downloads: 365 / 435
Referenced in: [show references]