Commit Graph

590 Commits

Author SHA1 Message Date
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
Stjepan Glavina 39e7a853ef Bump to v0.1.10 2020-05-22 22:23:52 +02:00
Stjepan Glavina 7e428f8255
Merge pull request #130 from stjepang/take-error-in-connect
Use take_error after connecting
2020-05-22 13:16:22 -07:00
Stjepan Glavina c7bc1bed0f Also use take_error after writing 2020-05-22 20:29:50 +02:00
Stjepan Glavina 7ac8969f45 Call take_error inside the wait_connect loop 2020-05-22 20:22:41 +02:00
Stjepan Glavina 702e1f8097 Mark unix-specific tests with cfg 2020-05-22 20:18:52 +02:00
Stjepan Glavina f245693472 Use take_error after connecting 2020-05-22 20:12:54 +02:00
Stjepan Glavina 28b1b4391a Bump to v0.1.9 2020-05-22 16:05:36 +02:00
Stjepan Glavina 4a67e61647 Formatting 2020-05-22 16:02:17 +02:00
Stjepan Glavina 423affa235
Merge pull request #127 from stjepang/split-with
Split with() into read_with() and write_with()
2020-05-22 07:01:45 -07:00
Stjepan Glavina 72db1bc982
Merge pull request #128 from Keruspe/master
fix build with piper 0.1.2
2020-05-22 07:01:10 -07:00
Stjepan Glavina d7b06dd6b0 Clear local event when triggered 2020-05-22 14:08:53 +02:00
Stjepan Glavina 56e459e966 Fix a compilation error 2020-05-22 13:49:27 +02:00
Stjepan Glavina b62db64e6a Fix a compilation error 2020-05-22 13:49:04 +02:00
Stjepan Glavina da002315ed Fix a bug in kqueue bindings 2020-05-22 13:48:15 +02:00
Stjepan Glavina f1a22d9cc2 Remove readable and writable 2020-05-22 13:17:08 +02:00
Stjepan Glavina 3805d8c082
Merge pull request #121 from ctiller/rel
Update cargo.toml for new release
2020-05-22 02:29:05 -07:00
Marc-Antoine Perennou 622a6e723d fix build with piper 0.1.2
Signed-off-by: Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
2020-05-22 08:35:59 +02:00
Stjepan Glavina f2f549c090 Remove cross section 2020-05-22 00:25:47 +02:00
Stjepan Glavina c45f9249cf Retab 2020-05-22 00:19:20 +02:00
Stjepan Glavina b3042fea79 Fix the cross section 2020-05-22 00:18:38 +02:00
Stjepan Glavina 3c763c7e63 Add cross check 2020-05-22 00:16:43 +02:00
Stjepan Glavina 32721399ff Remove cross compile 2020-05-22 00:10:14 +02:00
Stjepan Glavina 43aee08ab0 Replace tabs with spaces 2020-05-22 00:04:59 +02:00
Stjepan Glavina 687e4deb70 Change cross compilation targets 2020-05-21 23:59:21 +02:00
Stjepan Glavina 26a3208342 Fix errors 2020-05-21 23:47:17 +02:00
Stjepan Glavina 6d4bffa124 Fix a compilation error in a doctest 2020-05-21 20:11:47 +02:00
Stjepan Glavina c5e57ee346 Check for errors after connecting 2020-05-21 20:06:31 +02:00
Stjepan Glavina 76aa1ea654 Split with() into read_with() and write_with() 2020-05-21 19:17:33 +02:00
Stjepan Glavina 914f3b2d17
Merge pull request #124 from polachok/eventfd-close
fix: add Drop for eventfd
2020-05-20 12:35:59 -07:00
Alexander Polakov efcb9e7e40 fix: add Drop for eventfd 2020-05-20 20:21:33 +03:00