Commit Graph

1329 Commits (fix/scheduler-park)
 

Author SHA1 Message Date
dignifiedquire 124aa76c4e improve rescheduling 4 years ago
dignifiedquire 77d3693112 add tracing ability 4 years ago
dignifiedquire 00b8366d55 more work 4 years ago
dignifiedquire 6306ad9df1 improve idle detection 4 years ago
dignifiedquire 546ad3d287 fix start state 4 years ago
dignifiedquire bc8677ed09 use park + unpark instead of spawning 4 years ago
Friedel Ziegelmayer b446cd0230
Merge pull request #748 from async-rs/fix/scheduler-2
fix(rt): bring back dynamic machines
4 years ago
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
4 years ago
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
4 years ago
Yoshua Wuyts aebba2bd95
Merge pull request #747 from async-rs/fix/scheduler-perf
Fix new scheduler loop
4 years ago
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
4 years ago
Friedel Ziegelmayer fc4e472599
Merge pull request #733 from k-nasa/new-scheduler
New scheduler
4 years ago
nasa 6674dc0edf
Merge pull request #739 from devashishdxt/futures-timer-update
Update futures-timer to 3.0.2
4 years ago
k-nasa 088aa5662c refactor: Remove wrapping cell 4 years ago
Devashish Dixit 68fa054517 Update futures-timer to 3.0.2 4 years ago
k-nasa 11ee2a8985 fix 4 years ago
k-nasa 322911142c lock processor and remove unsafe Send, Sync 4 years ago
k-nasa cfaec2aa95 re add spin_lock 4 years ago
k-nasa 6d3ca5a06f remove poll function 4 years ago
k-nasa f960776846 fix 4 years ago
k-nasa 5c6741724f Merge branch 'master' into new-scheduler 4 years ago
k-nasa 24c5dbf949 Remove scheduler state 4 years ago
nasa 2dbebe54ed
Merge pull request #721 from k-nasa/update_dep_crate
update dependence crates
4 years ago
k-nasa d7ee29a03f fix test code 4 years ago
k-nasa 2b44c1be2e refactor: swap to swap_and_compare 4 years ago
k-nasa b1ec1ea930 Move Spinlock to sync module 4 years ago
k-nasa 98cbf7f8eb Restore task::spawn_blocking 4 years ago
k-nasa 84e5c5f351 Merge branch 'master' into new-scheduler 4 years ago
Yoshua Wuyts 3ff9e98f20
Merge pull request #585 from async-rs/try_channels
expose try_recv and try_send on channels
4 years ago
Yoshua Wuyts b7c7efc797 Update try_channel doctests 4 years ago
Yoshua Wuyts 19fd7a4084 fix channel tests
Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
4 years ago
Yoshua Wuyts 7885c245c5 recverror
Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
4 years ago
Yoshua Wuyts 7b7b959a6e mark channel errs as unstable
Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
4 years ago
Yoshua Wuyts 32dce319d3 expose try_recv and try_send on channels
Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
4 years ago
Yoshua Wuyts 49dd02b4de Make the split struct public 4 years ago
Yoshua Wuyts bb11c676a1 doctests pass 4 years ago
Yoshua Wuyts e026b7579a
Merge pull request #703 from spacekookie/recv-docs
channel/recv: improving function docs and code example
4 years ago
Yoshua Wuyts 51dd7ceb72
Merge pull request #727 from async-rs/revert-719-remove_re_export
Revert "Stabilize most stream method and remove unnecessary macros"
4 years ago
k-nasa 8931d1464e fix ci 4 years ago
nasa cc19592f80
Revert "Stabilize most stream method and remove unnecessary macros" 4 years ago
nasa f69887a50d
Update Cargo.toml 4 years ago
k-nasa 0b0531057d feat: update dependence crates 4 years ago
Yoshua Wuyts 61f9483cc5
Merge pull request #719 from k-nasa/remove_re_export
Stabilize most stream method and remove unnecessary macros
4 years ago
k-nasa f33d7f40ab fix test 4 years ago
k-nasa e3bf89fc05 $cargo fmt 4 years ago
k-nasa ec4b09ecd0 fix test code 4 years ago
k-nasa b95bd6c1fe fix: Remove unnecessary io modules 4 years ago
k-nasa 1e18839f1f fix warning 4 years ago
k-nasa f31878655e fix: Stabilize stream method 4 years ago
k-nasa 9a62df143f add whitespace 4 years ago