Commit Graph

620 Commits

Author SHA1 Message Date
Stjepan Glavina b5cc4c433d Fix lost reader wakeups 2020-06-19 17:03:33 +02:00
Stjepan Glavina 45bb5ed3c7 Simplify blocking 2020-06-18 18:50:42 +02:00
Stjepan Glavina d559855775 Simplify 2020-06-18 18:24:26 +02:00
Stjepan Glavina 380aa9256d Bump to v0.1.14 2020-06-18 16:45:03 +02:00
Stjepan Glavina 04b82eb6dd Bump to v0.1.13 2020-06-18 16:40:52 +02:00
Stjepan Glavina 6ada2d13cf Clear the IoEvent after any react() call 2020-06-18 16:39:21 +02:00
Stjepan Glavina b2b282fbce
Merge pull request #169 from stjepang/refactor
Refactor the executor and I/O event
2020-06-18 16:33:53 +02:00
Stjepan Glavina fbb0fb637a Address clippy complaints 2020-06-18 16:27:17 +02:00
Stjepan Glavina ebc1f4fb34 Merge branch 'master' into refactor 2020-06-18 16:10:54 +02:00
Stjepan Glavina 98ed9fb731
Merge pull request #162 from sopium/reregister-the-other-event
Reregister if we get only readable or writable
2020-06-18 16:07:45 +02:00
Stjepan Glavina 01dd5dccc9 Refactor the executor 2020-06-18 16:03:26 +02:00
Stjepan Glavina 3f30591a89 Bump to v0.1.12 2020-06-14 14:50:38 +02:00
Stjepan Glavina 68e97d76a2
Merge pull request #165 from sopium/fix-udp-recv
Fix Async::<UdpSocket>::recv
2020-06-14 14:49:49 +02:00
Stjepan Glavina 3e78e59f52 saved 2020-06-14 14:49:27 +02:00
Yin Guanhao 0e6345dd63 Fix Async::<UdpSocket>::recv 2020-06-13 07:28:40 +02:00
Yin Guanhao e8d0febbc3 Reregister if we get only readable or writable
but we are interested in both. Fix #161.
2020-06-07 12:00:28 +02:00
Stjepan Glavina 0408c19531 work 2020-06-05 14:23:05 +02:00
Stjepan Glavina d43f850050 Bump to v0.1.11 2020-06-03 11:38:03 +02:00
Stjepan Glavina 6f0b0b2a99
Merge pull request #155 from stjepang/lower-min-tokio-version
set minimum tokio version to 0.2
2020-06-02 09:45:58 -07:00
Yoshua Wuyts 0b7ea6b4c8 set minimum tokio version to 0.2.13 2020-06-02 17:59:01 +02:00
Stjepan Glavina e6bd9229f7 Update concurrent-queue 2020-06-02 16:49:49 +02:00
Stjepan Glavina 2253923ec8 Replace some crates 2020-06-02 15:47:38 +02:00
Stjepan Glavina 23d9f94264
Merge pull request #152 from stjepang/cross
Cross compilation and testing
2020-06-01 01:12:39 -07:00
Stjepan Glavina 90aa585cfa Cleanup 2020-06-01 10:03:39 +02:00
Stjepan Glavina 2f8f3a2340 Remove dragonfly 2020-06-01 00:54:45 +02:00
Stjepan Glavina 931a348cbe only build for ios 2020-05-31 23:38:46 +02:00
Stjepan Glavina 46a4adcd9e Install docker on ubuntu only 2020-05-31 23:32:08 +02:00
Stjepan Glavina b2df9c7ee6 Install docker 2020-05-31 23:27:10 +02:00
Stjepan Glavina 4e94f943bb Just build, don't test 2020-05-31 23:14:19 +02:00
Stjepan Glavina c5a270133b Cross compilation and testing 2020-05-31 22:41:56 +02:00
Stjepan Glavina c5e5c25952
Merge pull request #133 from dignifiedquire/isolate-nix
refactor: replace nix with libc
2020-05-31 09:11:58 -07:00
dignifiedquire 1ba84935e4 fix: support systems without epoll_create1 2020-05-28 15:40:39 +02:00
dignifiedquire 47f047c052 fix compiles for winodws 2020-05-28 15:40:39 +02:00
dignifiedquire a56aa12de8 refactor: use libc for epoll 2020-05-28 15:40:39 +02:00
dignifiedquire 63ffbc575c refactor: use libc for kqueue 2020-05-28 15:40:39 +02:00
dignifiedquire f647532400 refactor: use libc for eventfd 2020-05-28 15:40:39 +02:00
dignifiedquire b500e5ce2b refactor: use libc for unistd 2020-05-28 15:40:39 +02:00
dignifiedquire b3358ef275 refactor: use libc instead of nix for fcntl 2020-05-28 15:40:39 +02:00
dignifiedquire 49f3eb56c1 flatten 2020-05-28 15:40:39 +02:00
dignifiedquire 1743bc4d32 refactor: isolate nix crate to a single file 2020-05-28 15:40:39 +02:00
Stjepan Glavina b1b5986ef7
Merge pull request #143 from stjepang/unlock-before-wake
Drop locks before waking tasks
2020-05-28 06:32:09 -07:00
Stjepan Glavina ee25d12cac
Merge pull request #147 from dignifiedquire/feat/recursive-block-on
feat: allow recursive block_on calls
2020-05-27 11:34:23 -07:00
dignifiedquire 3e16c34504 feat: allow recursive block_on calls 2020-05-27 16:18:12 +02:00
Stjepan Glavina a37c1ee8ea Drop locks before waking tasks 2020-05-25 23:31:11 +02:00
Sherlock Holo b03b39b210
test: ensure doc test will run successfully
bind 127.0.0.1:80 may fail when other program bind it before, use
0.0.0.0:0 can let kernel find a usable address
2020-05-26 00:19:13 +08:00
Sherlock Holo 79073d017b
feat: add readable() and writable() async functions
add these async functions should can solve problem in #139
2020-05-26 00:13:51 +08:00
Stjepan Glavina 2e2b8148ed
Merge pull request #137 from mbrubeck/crossbeam
Depend on individual crossbeam crates.
2020-05-24 14:43:59 -07:00
Matt Brubeck 1ba194cb86 Depend on individual crossbeam crates.
This shrinks the dependency graph slightly, as it no longer pulls in the
unused crossbeam-channel crate.
2020-05-24 10:40:00 -07:00
Stjepan Glavina c311b6897f
Merge pull request #132 from stjepang/update-wepoll
Update wepoll-binding to 2.0.2
2020-05-23 09:24:33 -07:00
Stjepan Glavina cee8acd7e5 Update wepoll-binding to 2.0.2 2020-05-23 18:12:17 +02:00