diff options
author | Joshua Judson Rosen | 2015-02-16 23:33:02 -0500 |
---|---|---|
committer | Joshua Judson Rosen | 2015-02-16 23:33:02 -0500 |
commit | b3be641eeddce360692d3a3e872d769f86f1b293 (patch) | |
tree | dcb07ecbb9a04ff7e7cbe5adfeb246de87e354d6 /src/usernames.h | |
parent | VC: ignore backup-files. (diff) | |
download | apf-b3be641eeddce360692d3a3e872d769f86f1b293.tar.gz |
Nix mysleep().
Just use sleep() where only whole-second resolution is used
to delay between reconnect-attempts; and nanosleep where
sub-second resolution is used.
sleep() should actually be OK, because we don't intermix those calls
with alarm() or any other signals or itimer functions.
nanosleep() should be OK because POSIX.1-2001 requires
that it not have the crazy signal interactions
that its predecessors are known for.
Diffstat (limited to 'src/usernames.h')
0 files changed, 0 insertions, 0 deletions