dignifiedquire
e4df1405c1
feat: add basic wasm support
2020-05-02 20:27:50 +02:00
dignifiedquire
2cd2ba3530
remove unused dependencies
2020-05-02 20:27:50 +02:00
dignifiedquire
3161a4e449
add some missing windows imports
2020-05-02 20:27:50 +02:00
dignifiedquire
228cc59b3b
feat: add spawn_local
2020-05-02 20:27:50 +02:00
dignifiedquire
0a7a52aed5
update to work on smol/master
2020-05-02 20:27:50 +02:00
dignifiedquire
10c8b9a6d8
silence must use
2020-05-02 20:27:50 +02:00
dignifiedquire
fd6ae40817
add timeout stress test
2020-05-02 20:27:50 +02:00
dignifiedquire
ab9d6554aa
switch to smol::Timer
2020-05-02 20:27:50 +02:00
dignifiedquire
f5fa0d7e4e
avoid boxing futures
2020-05-02 20:27:50 +02:00
dignifiedquire
b96afc41dc
implement task locals
2020-05-02 20:27:50 +02:00
dignifiedquire
75ab7219df
bring back random
2020-05-02 20:27:50 +02:00
dignifiedquire
e082634b5e
fix spawning
2020-05-02 20:27:50 +02:00
dignifiedquire
fc9ee0dfdd
keep std::sync::Arc
2020-05-02 20:27:50 +02:00
dignifiedquire
1308fbdf55
switch to smol instead of an internal runtime
2020-05-02 20:27:50 +02:00
dignifiedquire
690ab16587
add dependency
2020-05-02 20:27:50 +02:00
Florian Gilcher
370642ef3e
Merge pull request #734 from sunli829/master
...
Add async-graphql to the ecosystems inside the readme
2020-04-28 13:17:52 +02:00
Sunli
100c3423c1
Apply suggestions from code review
...
Thank you.😁
Co-Authored-By: Friedel Ziegelmayer <me@dignifiedquire.com>
2020-04-27 13:49:53 +08:00
nasa
7999e6bf4b
ci: speed up github actions
2020-04-26 18:23:09 +02:00
Fangdun Cai
e707ea96e0
docs(readme): add ci status badge
2020-04-26 18:18:21 +02:00
Friedel Ziegelmayer
b446cd0230
Merge pull request #748 from async-rs/fix/scheduler-2
...
fix(rt): bring back dynamic machines
2020-04-12 15:22:51 +02:00
Thayne McCombs
db438abb8f
Implement async_std::sync::Condvar ( #369 )
...
* Implement async_std::sync::Condvar
Part of #217
* More rigourous detection of notification for condvar
* Use state of Waker instead of AtomicUsize to keep track of if task was
notified.
* Add test for notify_all
* Implement wait_timeout_until
And add warnings about spurious wakeups to wait and wait_timeout
* Use WakerSet for Condvar
This should also address concerns about spurious wakeups.
* Add test for wait_timeout with no lock held
* Add comments describing AwaitNotify struct
And remove an unnneded comment in a Debug implementation
2020-04-12 13:35:18 +02:00
dignifiedquire
a4e07e345c
fix(rt): bring back dynamic machines
...
Even if we do not make use of the progress blocking, we do need to make use of the dynamic restarting of machines as far as I understand.
Keeps the perf, while removing the regression from #747
2020-04-10 02:22:03 +02:00
Yoshua Wuyts
aebba2bd95
Merge pull request #747 from async-rs/fix/scheduler-perf
...
Fix new scheduler loop
2020-04-09 17:26:46 +02:00
dignifiedquire
0c9a66c1f6
fix scheduler loop
...
This now matches more closely the logic as implemented in #631 , and fixes the performance regression as far as I have observed.
Closes #746
2020-04-09 17:02:27 +02:00
Friedel Ziegelmayer
fc4e472599
Merge pull request #733 from k-nasa/new-scheduler
...
New scheduler
2020-04-07 22:50:04 +02:00
nasa
6674dc0edf
Merge pull request #739 from devashishdxt/futures-timer-update
...
Update futures-timer to 3.0.2
2020-04-03 13:41:12 +09:00
k-nasa
088aa5662c
refactor: Remove wrapping cell
2020-04-03 13:38:07 +09:00
Devashish Dixit
68fa054517
Update futures-timer to 3.0.2
2020-03-30 19:30:00 +08:00
k-nasa
11ee2a8985
fix
2020-03-22 19:25:40 +09:00
k-nasa
322911142c
lock processor and remove unsafe Send, Sync
2020-03-22 19:20:01 +09:00
k-nasa
cfaec2aa95
re add spin_lock
2020-03-22 19:19:17 +09:00
sunli
57c648cf01
Add async-graphql to the ecosystems inside the readme
2020-03-21 15:49:15 +08:00
k-nasa
6d3ca5a06f
remove poll function
2020-03-21 14:19:38 +09:00
k-nasa
f960776846
fix
2020-03-21 13:40:59 +09:00
k-nasa
5c6741724f
Merge branch 'master' into new-scheduler
2020-03-20 23:17:12 +09:00
k-nasa
24c5dbf949
Remove scheduler state
2020-03-20 23:13:20 +09:00
nasa
2dbebe54ed
Merge pull request #721 from k-nasa/update_dep_crate
...
update dependence crates
2020-03-20 12:33:56 +09:00
k-nasa
d7ee29a03f
fix test code
2020-03-19 19:16:12 +09:00
k-nasa
2b44c1be2e
refactor: swap to swap_and_compare
2020-03-19 18:41:00 +09:00
k-nasa
b1ec1ea930
Move Spinlock to sync module
2020-03-19 18:39:01 +09:00
k-nasa
98cbf7f8eb
Restore task::spawn_blocking
2020-03-17 20:54:16 +09:00
k-nasa
84e5c5f351
Merge branch 'master' into new-scheduler
2020-03-17 20:38:19 +09:00
Yoshua Wuyts
3ff9e98f20
Merge pull request #585 from async-rs/try_channels
...
expose try_recv and try_send on channels
2020-03-16 02:38:00 +01:00
Yoshua Wuyts
b7c7efc797
Update try_channel doctests
2020-03-16 00:05:39 +01:00
Yoshua Wuyts
19fd7a4084
fix channel tests
...
Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
2020-03-15 23:53:03 +01:00
Yoshua Wuyts
7885c245c5
recverror
...
Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
2020-03-15 23:53:03 +01:00
Yoshua Wuyts
7b7b959a6e
mark channel errs as unstable
...
Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
2020-03-15 23:53:03 +01:00
Yoshua Wuyts
32dce319d3
expose try_recv and try_send on channels
...
Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
2020-03-15 23:53:03 +01:00
Yoshua Wuyts
49dd02b4de
Make the split struct public
2020-03-15 23:51:19 +01:00
Yoshua Wuyts
bb11c676a1
doctests pass
2020-03-15 23:46:36 +01:00