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)

static volatile bool licensed_yes = true;

static bool licensed() {
  if (!licensed_yes) false;
  ping_okInCleanUp();
  true;
}

static void licensed_off() {
  licensed_yes = false;
}

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: 718 / 1381
Version history: 2 change(s)
Referenced in: [show references]