Stjepan Glavina
bfd7af8775
Rename local.rs -> task_local.rs
2019-09-18 13:59:32 +02:00
Yoshua Wuyts
d0312a028c
mark task::ready as unstable
...
Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
2019-09-17 23:32:38 +02:00
Yoshua Wuyts
d5725e78be
use async-macros
...
Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
2019-09-17 23:24:15 +02:00
Yoshua Wuyts
1ad339a19e
rebase on master
...
Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
2019-09-17 23:22:30 +02:00
Stjepan Glavina
04dbcbb639
Update src/task/worker.rs
...
Co-Authored-By: Yoshua Wuyts <yoshuawuyts@gmail.com>
2019-09-17 12:28:19 +01:00
Stjepan Glavina
0924911ac3
Implement simple work stealing
2019-09-17 11:12:47 +02:00
Yoshua Wuyts
1341fa7add
cargo fmt
...
Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
2019-09-16 15:34:06 +02:00
Yoshua Wuyts
9c82d5e3f3
remove custom log tools in favor of macro crate
...
Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
2019-09-16 14:07:06 +02:00
bors[bot]
03f5022262
Merge #195
...
195: Remove the Send bound from block_on r=stjepang a=stjepang
Co-authored-by: Stjepan Glavina <stjepang@gmail.com>
2019-09-16 07:31:21 +00:00
Stjepan Glavina
1d862cf604
Remove the Send bound from block_on
2019-09-15 00:36:17 +02:00
Kevin Donahue
127feb47f9
add doc comment for join handle drop behavior
2019-09-14 16:35:27 -04:00
Stjepan Glavina
bac74c2d7f
Reduce dependency on futures crate ( #140 )
...
* Add future::poll_fn
* Replace all uses of poll_fn with the new one
* Remove some uses of futures
* Simplify ReadDir and DirEntry
* Remove some use of futures from File
* Use futures subcrates
* Fix imports in docs
* Remove futures-util dependency
* Remove futures-executor-preview
* Refactor
* Require more features in the futures-preview crate
2019-09-05 01:22:41 +02:00
Yoshua Wuyts
63ad786768
remove async_await feature gate
...
Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
2019-08-21 00:29:35 -07:00
Florian Gilcher
56cd64520d
Merge pull request #33 from async-rs/remove-time-module
...
Remove time module
2019-08-16 16:56:47 +02:00
Stjepan Glavina
4b45918f50
Remove time module
2019-08-15 19:26:10 +02:00
Tyler Neely
10146e31f0
Stagger background thread spin-down to avoid a thundering herd
2019-08-15 18:18:13 +02:00
Stjepan Glavina
9b3e8b8f26
Use our own Sink/Empty and fix compilation errors
2019-08-15 11:47:20 +02:00
Stjepan Glavina
ea2da1f4a4
Merge branch 'master' into tyler_elastic_threadpool
2019-08-15 10:52:52 +02:00
Stjepan Glavina
e459bd048e
Cleanup and docs
2019-08-14 04:22:37 +02:00
Stjepan Glavina
019c8085f4
Cleanup examples
2019-08-14 03:47:39 +02:00
Stjepan Glavina
a2e54fcd29
Replace crossbeam with crossbeam-channel
2019-08-12 23:47:32 +02:00
Stjepan Glavina
ae84fd4498
Merge branch 'master' into tyler_elastic_threadpool
2019-08-12 20:32:49 +02:00
Stjepan Glavina
1f9628d8ad
Cleanup
2019-08-12 20:29:16 +02:00
Stjepan Glavina
68d7a9c34e
Refactor
2019-08-12 18:38:59 +02:00
Stjepan Glavina
a430e27819
Cleanup, docs, fmt
2019-08-12 18:00:21 +02:00
Stjepan Glavina
e44451a042
Revamp IO traits and Stream trait
2019-08-12 12:50:35 +02:00
Tyler Neely
445b4161cb
Improve comment on the blocking threadpool
2019-08-09 16:40:31 +02:00
Tyler Neely
81fa1d419a
Remove all of the dynamic control stuff for now and just use nonblocking sends + 1 second receive timeouts
2019-08-09 12:22:54 +02:00
Tyler Neely
ab613a53e5
Improve comments in the blocking threadpool
2019-08-09 12:06:43 +02:00
Tyler Neely
4cb1faf299
Use unbuffered work queue in the dynamic threadpool to reduce bufferbloat
2019-08-09 12:06:26 +02:00
Tyler Neely
d75aae23cb
Tune timings of dynamic threadpool
2019-08-09 12:06:00 +02:00
Stjepan Glavina
3f4a56abdc
Reformat doc examples
2019-08-09 02:56:59 +02:00
Tyler Neely
e97dfdc4cc
Add dynamic threadpool
2019-08-08 16:48:18 +02:00
Florian Gilcher
5b0a6269a9
Initial commit
2019-08-08 14:44:48 +02:00