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

11
LINES

< > BotCompany Repo | #1002066 // licensed - should program keep running? also ping()s so thread is cancelled/paused etc. on request

JavaX fragment (include)

1  
static volatile bool licensed_yes = true;
2  
3  
static bool licensed() {
4  
  if (!licensed_yes) false;
5  
  ping_okInCleanUp();
6  
  true;
7  
}
8  
9  
static void licensed_off() {
10  
  licensed_yes = false;
11  
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1002066
Snippet name: licensed - should program keep running? also ping()s so thread is cancelled/paused etc. on request
Eternal ID of this version: #1002066/3
Text MD5: 9881ac27ee5d923e549791298dc4d88c
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-12-07 01:14:22
Source code size: 193 bytes / 11 lines
Pitched / IR pitched: No / No
Views / Downloads: 853 / 1508
Version history: 2 change(s)
Referenced in: [show references]