26 Commits

Author SHA1 Message Date
Bert Belder
a627f365fd
src,test: clean up #include directives 2019-06-12 21:49:11 +02:00
Bert Belder
8f4d4e9602
src,test: squelch clang signed/unsigned conversion warnings 2018-05-17 01:31:28 -07:00
Bert Belder
0fbf0e2b0e
src: use more condensed style for short comments 2018-05-03 14:40:52 +02:00
Bert Belder
ed51c0a335 test: squelch gcc -Wparentheses warning 2017-12-08 19:41:41 +01:00
Bert Belder
e358fdc430 test: use portable printf format specifier for 64-bit integer 2017-12-08 19:41:41 +01:00
Bert Belder
981b3caf4e api: epoll_create() and epoll_create1() should return NULL on failure 2017-12-04 20:04:30 +01:00
Bert Belder
d64a5f282d test: remove unnecessary event mask casts to uint32_t 2017-12-03 23:16:10 +01:00
Bert Belder
6317d82823 test: use check() instead of assert()
This is to ensure these checks also run in release builds.
2017-11-27 16:56:47 +01:00
Bert Belder
387257e87f test: shorten duration of some tests 2017-11-27 01:11:41 +01:00
Bert Belder
782f228e50 test: fix test-udp-pings 2017-11-21 17:11:18 +01:00
Bert Belder
eb673e3fed all: rename the project to 'wepoll' 2017-09-28 00:12:20 +02:00
Bert Belder
4ea40313be epoll: epoll_create(1) to match linux API more closely 2017-09-25 19:54:20 +02:00
Bert Belder
45728a1e90 api: reference the epoll port by windows HANDLE 2017-09-25 18:15:17 +02:00
Bert Belder
ccf4242a5e test-udp-pings: don't use getaddrinfo() to resolve localhost 2017-09-14 01:35:37 +02:00
Bert Belder
5d26c4df71 test-udp-pings: use #defines rather than constants for test parameters 2017-09-14 01:35:37 +02:00
Bert Belder
57094513ef test-udp-pings: remove unnecessary perror() call 2017-09-14 01:35:37 +02:00
Bert Belder
12abb04d46 test-udp-pings: deal with compiler warnings 2017-09-14 01:35:29 +02:00
Bert Belder
b8a2e2ea84 test-udp-pings: increase socket count to 10k 2017-09-14 01:35:29 +02:00
Bert Belder
1c32c9e030 test-udp-pings: reduce run time 2017-09-14 01:35:29 +02:00
Bert Belder
8e8df010f3 test-udp-pings: format source code 2017-09-14 01:35:29 +02:00
Bert Belder
153bc1138a socket: fix EPOLLONESHOT semantics
When EPOLLONESHOT is specified, rather than deleting the socket, just
clear it's event mask.
2017-09-14 00:53:13 +02:00
Bert Belder
c26cb3e2dd test: include send rate in terminal output 2017-09-11 04:00:31 +02:00
Bert Belder
91069b2271 epoll: split out poll request functions into poll-request.[ch] 2017-09-10 20:39:36 +02:00
Bert Belder
89099e3103 src: major refactor 2017-09-10 20:39:19 +02:00
Bert Belder
e910b2bc72 src: include windows headers in a central location 2017-09-03 20:55:37 +02:00
Bert Belder
42a0c6e0f4 structure: put tests in the test/ folder 2017-09-01 19:29:39 +02:00