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

8
LINES

< > BotCompany Repo | #1016271 - waitUntilSysTimeOrFlag

JavaX fragment (include)

static void waitUntilSysTimeOrFlag(long time, Flag flag) {
  if (flag == null) waitUntilSysTime(time);
  else {
    long diff = time-sysNow();
    if (diff <= 0) ret;
    flag.waitUntilUp(diff);
  }
}

Author comment

Began life as a copy of #1016006

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1016271
Snippet name: waitUntilSysTimeOrFlag
Eternal ID of this version: #1016271/3
Text MD5: b7d418242233837ce249dab4f12931d9
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-06-12 23:28:31
Source code size: 207 bytes / 8 lines
Pitched / IR pitched: No / No
Views / Downloads: 223 / 248
Version history: 2 change(s)
Referenced in: #1006654 #1023006

Formerly at http://tinybrain.de/1016271 & http://1016271.tinybrain.de