diff options
author | Rich Felker <dalias@aerifal.cx> | 2011-09-21 23:17:45 -0400 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2011-09-21 23:17:45 -0400 |
commit | bf027ca5e0c7bc0b90e84dcbb1d7cbea6ed1e3ef (patch) | |
tree | 09873e1c784b4ac272accec695153bb7f6a2eb6b /src/thread/pthread_cond_broadcast.c | |
parent | fix missing SIG_DFL, SIG_IGN, SIG_ERR without posix in signal.h (diff) | |
download | grovel-bf027ca5e0c7bc0b90e84dcbb1d7cbea6ed1e3ef.tar.gz grovel-bf027ca5e0c7bc0b90e84dcbb1d7cbea6ed1e3ef.tar.xz |
use poll rather than select in dns lookups (also clock_gettime)
if the file descriptor resource limit has been increased past
FD_SETSIZE, this is actually a security issue; we could write past the
end of the fd_set object. using poll makes it a non-issue, and
simplifies the code at the same time.
also, use clock_gettime instead of gettimeofday, for reduced bloat
and better entropy.
Diffstat (limited to 'src/thread/pthread_cond_broadcast.c')
0 files changed, 0 insertions, 0 deletions