aboutsummaryrefslogtreecommitdiffstats
path: root/java
diff options
context:
space:
mode:
authorPaul Eggert2023-03-21 14:38:23 -0700
committerPaul Eggert2023-03-21 14:42:18 -0700
commit640fd9b594fa376e6493efbe0cf083e1270ddd3f (patch)
tree2659bb3c0bc63db9d7bbd7491e9241a691384f6a /java
parent2e8cc206f520ec9feb42273703d7afbcb32cd791 (diff)
downloademacs-640fd9b594fa376e6493efbe0cf083e1270ddd3f.tar.gz
emacs-640fd9b594fa376e6493efbe0cf083e1270ddd3f.zip
Sleep less in update-game-score
This is mostly to avoid interface hassles with time/srand/rand. * lib-src/update-game-score.c (main): Don’t use ‘srand’ or ‘time’. (lock_file): Don’t sleep if we unlocked the lock file. When sleeping, always just sleep 1 s. This avoids the need for calling ‘time’ and ‘rand’, the utility of which was dubious anyway.
Diffstat (limited to 'java')
0 files changed, 0 insertions, 0 deletions