leitner
|
80328bccf9
|
return early
|
1 year ago |
leitner
|
fc223dc725
|
recent kernel return POLLERR and then calling read returns EGAIN which
leads to busy loop. Try to work around.
|
3 years ago |
leitner
|
c29096b2e0
|
some more eagain handling in tryread and trywrite
cosmetic change
|
8 years ago |
leitner
|
b73a699dab
|
reengineer alt queue handling to prevent race
|
8 years ago |
leitner
|
c60c2425ce
|
hopefully fix the infinite loop in gatling
|
10 years ago |
leitner
|
967e3ce019
|
revert edge triggering epoll; it had reliability and fairness issues and
was also not actually faster
|
10 years ago |
leitner
|
d9cbb3940c
|
it turns out you don't need -1/EGAIN to know edge triggering told you
there is no more data, it's enough to read/write less than you asked for
|
11 years ago |
leitner
|
5baf943f0a
|
finish epoll move to edge triggering
|
11 years ago |
leitner
|
a544abc39c
|
switch io_fds from array to newly implemented (hopefully thread-safe) iarray
switch epoll from level triggering to edge triggering
|
11 years ago |
leitner
|
83c1186870
|
fix for NetBSD 3.0 (they broke their sys/types.h)
remove support for ip6.int reverse lookup in DNS routines (the domain is
no longer delegated)
|
19 years ago |
leitner
|
c1c50c7dbd
|
further Windoze support (test/io5.c works, gatling still doesn't)
This is just to get gatling to work, I may remove it again after
that.
|
20 years ago |
leitner
|
d8ce4dc2e5
|
fix signal race (Scott Lamb)
|
21 years ago |
sanjiyan
|
90bde5e569
|
reset the timer in the correct way.
|
21 years ago |
leitner
|
2a2e1ddc75
|
add sigio support
extend code to cope with edge triggered event notification
add io_eagain() so that you can notify io_wait if accept() returned EAGAIN
|
22 years ago |
leitner
|
325a6176ca
|
write a small socket server with io_wait integration and add and debug
io framework enough to support the test program
|
22 years ago |
leitner
|
49818590ee
|
beginnings of the io library
|
22 years ago |