kc3-lang/libevent/util-internal.h

Branch :


Log

Author Commit Date CI Message
20fda296 2010-05-03 13:00:00 Try /proc on Linux as entropy fallback; use sysctl as last resort It turns out that the happy fun Linux kernel is deprecating sysctl, and using sysctl to fetch entropy will spew messages in the kernel logs. Let's not do that. Instead, let's call sysctl for our entropy only when all other means fail. Additionally, let's add another means, and try /proc/sys/kernel/random/uuid if /dev/urandom fails.
b1c79500 2010-04-23 14:42:25 Make evdns logging threadsafe The old logging code was littered with places where we stored messages in static char[] fields. This is fine in a single-threaded program, but if you ever tried to log evdns messages from two threads at once, you'd hit a race. This patch also refactors evdns's debug_ntop function into a more useful evutil_sockaddr_port_format() function, with unit tests.
850c3ff2 2010-03-31 20:30:55 Add evutil_tv_to_msec for safe conversion of timevals to milliseconds. This is useful for backends that require their timeout values be in milliseconds.
2c2618d8 2010-03-05 13:00:15 more whitespace normalization
17efc1cd 2010-03-04 01:25:51 Update all our copyright notices to say "2010"
7bc48bfd 2010-02-27 18:59:06 deal with connect() failing immediately
e5bbd40a 2010-02-18 17:41:15 Clean up formatting: use tabs, not 8-spaces, to indent.
8fdf09c0 2010-02-18 17:08:50 Clean up formatting: Disallow space-before-tab.
aba1fff3 2010-02-03 14:37:42 Add EV_*_MAX macros to event2/util.h to expose limits for ev_* types.
918e9c5e 2010-01-23 16:38:36 Fix a number of warnings from gcc -pedantic