Commit Graph

140 Commits

Author SHA1 Message Date
Stjepan Glavina 9ec3c0faf0 Bump to v1.0.1 2020-09-07 16:50:06 +02:00
Stjepan Glavina 99cc2e3dba Bump to v1.0.0 2020-09-07 15:53:20 +02:00
cssivision c64dcb158a
remove drop(self) when react (#24) 2020-09-05 12:45:33 +02:00
Stjepan Glavina 627b8b9d6d Bump to v0.2.7 2020-09-03 12:57:40 +02:00
Stjepan Glavina 06a40ec8de Replace log::debug with log::trace 2020-09-03 12:57:00 +02:00
Stjepan Glavina b84f609c39 Bump to v0.2.6 2020-08-29 17:35:20 +02:00
Stjepan Glavina fd8084b193 Add logging 2020-08-29 16:41:35 +02:00
Stjepan Glavina f25d130120 Bump to v0.2.5 2020-08-28 16:00:29 +02:00
JayceFayne d8f59bd87d
fail fast on `io::ErrorKind::NotConnected` (#21) 2020-08-28 15:57:45 +02:00
Stjepan Glavina 60d8a377b5 Bump to v0.2.4 2020-08-28 14:23:39 +02:00
Stjepan Glavina f2c0dd729c Prevent threads from hogging the reactor forever 2020-08-28 14:22:55 +02:00
Stjepan Glavina 04c02bd892 Bump to v0.2.3 2020-08-27 21:23:01 +02:00
Stjepan Glavina 509b7800db Perf optimizations 2020-08-27 20:47:37 +02:00
Stjepan Glavina 0dc960dfbd Bump to v0.2.2 2020-08-27 18:52:07 +02:00
Stjepan Glavina 93a8ae1bc7 Add probabilistic yielding to improve fairness 2020-08-27 18:51:45 +02:00
Stjepan Glavina 04cee4042d Bump to v0.2.1 2020-08-26 23:37:13 +02:00
Stjepan Glavina e5a17ff4cc Update readme 2020-08-26 23:36:58 +02:00
Stjepan Glavina b4bc8c357f Bump to v0.2.0 2020-08-26 23:14:57 +02:00
Stjepan Glavina 733111d135 Replace parking with block_on() 2020-08-26 23:09:14 +02:00
Stjepan Glavina efaac5dc4c
Fix unix connect (#19)
* Add some debug info

* Fix a bug in UnixStream connect
2020-08-25 19:17:44 +02:00
Marc-Antoine Perennou defb205c6a
reactor: properly reset registered wakers state when needed (#13)
If the list of pending wakers grew too big and we woke everything,
also drop the bit from wakers_registered

Signed-off-by: Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
2020-08-20 21:59:53 +00:00
Stjepan Glavina e91d306999 Typo 2020-08-20 12:27:28 +00:00
Stjepan Glavina 3f3b5d93d6 Put a limit on the waker list size 2020-08-20 12:26:30 +00:00
Stjepan Glavina 5570071c42
Merge pull request #12 from stjepang/update-polling
Update polling
2020-08-15 09:17:41 +02:00
Stjepan Glavina d3e56656c7 Update polling v0.1.5 2020-08-15 09:17:00 +02:00
Stjepan Glavina eeb609a399 Update polling 2020-08-15 08:26:53 +02:00
Stjepan Glavina c16b2d8512
Merge pull request #11 from stjepang/update-polling
Update polling
2020-08-14 17:20:39 +02:00
Stjepan Glavina e5a174af53
Merge pull request #5 from Keruspe/optimistic-rw
skip optimistic read/write when there already are wakers registered
2020-08-14 17:19:04 +02:00
Stjepan Glavina c9be3cf489 Update polling 2020-08-14 17:06:12 +02:00
Marc-Antoine Perennou b07a426445 skip optimistic read/write when there already are wakers registered
Naive attempt at fixing #3

Signed-off-by: Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
2020-08-14 15:40:56 +02:00
Stjepan Glavina d3b5cd401e Small refactor for v1.0 2020-08-12 17:50:26 +02:00
Stjepan Glavina aa0dee8de1
Merge pull request #7 from Matthias-Fauconneau/master
Add back Timer::at
2020-08-12 17:07:55 +02:00
Stjepan Glavina 5eaf7c822d Update polling 2020-08-12 14:28:19 +02:00
Stjepan Glavina 16329b99af Bump to v0.1.11 2020-08-07 09:39:25 +02:00
Stjepan Glavina 356af05e34 Clear events list before polling 2020-08-07 09:38:59 +02:00
Stjepan Glavina 3387d0bc23 Bump to v0.1.10 2020-08-06 15:45:27 +02:00
Stjepan Glavina 41ffbc0c1d Switch to polling crate 2020-08-06 15:28:45 +02:00
Stjepan Glavina c00b5d34f4 Use SeqCst 2020-08-04 22:22:50 +02:00
Stjepan Glavina 312f488d1e Refactor 2020-08-04 22:02:39 +02:00
Stjepan Glavina aabfc2adfb Delete old comment 2020-08-02 22:03:14 +02:00
Stjepan Glavina b9df26de5f Fill in readme 2020-07-31 17:05:52 +02:00
Stjepan Glavina 60e13b1993 Bump to v0.1.9 2020-07-31 17:03:46 +02:00
Stjepan Glavina 01aeab2749 More docs 2020-07-31 17:02:04 +02:00
Stjepan Glavina 43bad62503 Bump to v0.1.8 2020-07-31 11:12:50 +02:00
Stjepan Glavina 3541802fce
Merge pull request #8 from stjepang/fix-high-cpu-usage
Fix high CPU usage by the async-io thread
2020-07-31 11:11:16 +02:00
Stjepan Glavina d0fb59b041 Fix high CPU usage by the async-io thread 2020-07-30 13:43:57 +02:00
Stjepan Glavina 28187909c1 Bump to v0.1.7 2020-07-28 21:23:14 +02:00
Stjepan Glavina cac8a823b3 Adjust when to go to sleep 2020-07-28 21:20:43 +02:00
Stjepan Glavina 7779f498ec More examples 2020-07-28 20:38:09 +02:00
Stjepan Glavina 03b5ba6efa Cleanup 2020-07-27 17:29:33 +02:00