Commit Graph

14 Commits

Author SHA1 Message Date
Nikolay Kim 5a4ce470f9 disable tests 2019-11-11 02:44:58 +06:00
Kai Ren 05ae2585f3 Migrate actix-threadpool to std::future (#59)
* Migrate actix-threadpool to std::future

* Cosmetic refactor

- turn log::error! into log::warn! as it doesn't throw any error
- add Clone and Copy impls for Cancelled making it cheap to operate with
- apply rustfmt

* Bump up crate version to 0.2.0 and pre-fill its changelog

* Disable patching 'actix-threadpool' crate in global workspace as unnecessary

* Revert patching and fix 'actix-rt'
2019-11-10 23:43:02 +06:00
Christian Battaglia e7631f76f2 update to latest tokio alpha and futures-rs 2019-11-07 17:49:54 -05:00
Michal Hornický a844941b9f Migrate actix-codec, actix-rt, and actix-threadpool to std::future 2019-09-14 12:30:18 +02:00
Nikolay Kim 94e673b50b Add arbiter specific storage 2019-09-02 15:03:03 -07:00
Nikolay Kim b491d373b1 update actix-rt changes 2019-07-17 10:30:59 +06:00
Jeff Muizelaar 9271b95c87 Avoid a copy of the Future when initializing the Box. (#29)
Future's can be pretty big (> 1500 bytes) so this probably worth doing.

I confirmed with memcpy-find that this did infact eliminate two ~1500
byte copies from the actix-web basic example.
2019-07-17 10:29:22 +06:00
Nikolay Kim 07708c5e9a prepare rt release 2019-06-22 09:02:17 +06:00
Nikolay Kim 1441355d4f use release 2019-03-28 04:02:39 -07:00
Nikolay Kim 7c5afc09a6 move threadpool to separate crate 2019-03-28 03:56:52 -07:00
Nikolay Kim bef199f831 add blocking mod support 2019-03-11 22:54:27 -07:00
Nikolay Kim f1d4bcef4b add Arbiter::exec_fn and exec functions 2019-03-11 22:51:17 -07:00
Nikolay Kim c03d869694 return io::Result from run method, remove Handle 2019-03-06 10:24:58 -08:00
Nikolay Kim 98a151db4f add actix single threaded runtime 2018-12-09 19:55:40 -08:00