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

7
LINES

< > BotCompany Repo | #1004538 // system_ping - ping renamed

JavaX fragment (include)

1  
static volatile boolean ping_pauseAll;
2  
static int ping_sleep = 100; // poll flag every 100
3  
4  
static void system_ping() {
5  
  while (ping_pauseAll)
6  
    sleep(ping_sleep);
7  
}

Author comment

Began life as a copy of #1003137

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1004538
Snippet name: system_ping - ping renamed
Eternal ID of this version: #1004538/1
Text MD5: 20b9d89314a683d31248da9ebb9a1c92
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2016-08-20 14:36:32
Source code size: 174 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 531 / 552
Referenced in: [show references]