dignifiedquire
e495ba46b3
chore: release v1.6.2
5 years ago
Afirez
0c2ce52ac4
fix doc missing in #815
5 years ago
Friedel Ziegelmayer
5f418f07ac
Merge pull request #819 from async-rs/fix-sockets
5 years ago
dignifiedquire
06a2fb8c4f
fix export
5 years ago
dignifiedquire
1c1c168e1b
fix(timer): ensure the runtime is working for timers
5 years ago
Friedel Ziegelmayer
5d55fa7a47
Merge pull request #701 from olegnn/flat_map_fixed
5 years ago
dignifiedquire
093d640ad7
fix(net): ensure the reactor and runtime are running
...
If this is not done, then reactor is not running, resulting in the sockets not actually connecting.
Closes #818
5 years ago
Oleg Nosov
42425f6c1a
Another hotfix
5 years ago
Afirez
9fa3ce3fd6
Add UdpSocket::PeerAddr #307
5 years ago
Oleg Nosov
df22d87d09
Removed unnecessary links + hotfix
5 years ago
Oleg Nosov
924e5a3f41
Merge remote-tracking branch 'origin/master' into flat_map_fixed
5 years ago
Oleg Nosov
2323ac9a8e
Apply suggestions from code review
...
Co-authored-by: nasa <htilcs1115@gmail.com>
5 years ago
dignifiedquire
e9c6ea873c
chore: release v1.6.1
5 years ago
dignifiedquire
5a1a681d68
fix(rt): use task::block_on on spawned threads
...
This makes sure to capture threads into the recursive block_on detection.
5 years ago
Friedel Ziegelmayer
e12cf80ab0
fix: allow for recursive block-on calls
...
Fixes #798,#795,#760
5 years ago
Friedel Ziegelmayer
631105b650
Merge pull request #806 from async-rs/fix-feature-unstable
5 years ago
Friedel Ziegelmayer
0897b9184a
Merge pull request #804 from async-rs/tokio02-feature
5 years ago
Konrad Borowski
721760a7a6
Remove stdio lock methods
...
Fixes #805 .
5 years ago
dignifiedquire
8389041414
fix
5 years ago
dignifiedquire
8943ba82dd
fix nostd
5 years ago
dignifiedquire
52c72426c1
fix: do not require the runtime to use unstable features
5 years ago
Yoshua Wuyts
166c469d1c
Add the tokio02 feature flag
5 years ago
jerry73204
d60e7cc27d
Fix wrong slice index when reading a file
5 years ago
dignifiedquire
e1c8638173
chore: release v1.6.0
5 years ago
dignifiedquire
06eea4225b
feat: add PartialEq and Eq for channel Errors
...
Closes #792
5 years ago
Heinz N. Gies
69806403c6
Fix readme for BufRead
...
The `BufRead` readme points to `BufReadExt` being in `async_std::prelude` while it currently lives in `async_std::io::prelude`
5 years ago
Friedel Ziegelmayer
955befd746
Merge pull request #790 from async-rs/1-6-0-beta-2
5 years ago
k-nasa
d30603affe
Merge branch 'master' into fix_doc_test
5 years ago
dignifiedquire
c9ecb5bbbd
prepare v1.6.0-beta.2
5 years ago
Jacob Rothstein
9e6a76af04
feat: add env vars to configure the runtime threadpool size and name
5 years ago
Friedel Ziegelmayer
2b6c7fedff
Merge pull request #772 from jbr/unixstream-clone
5 years ago
Azriel Hoh
d3e59370e7
Switches `wasm-timer` for `futures-timer`.
5 years ago
Jacob Rothstein
cd5e17fe87
make UnixStream Clone
5 years ago
dignifiedquire
19170aead4
use local file
5 years ago
dignifiedquire
2762ec5800
fix(fs): use smol::block_on for drop handling of File
...
Ref #766
5 years ago
dignifiedquire
bd6a7e200b
prepare v1.6.0-beta.1
5 years ago
Friedel Ziegelmayer
e4c4c93d29
Test and fix 32 bit targets
5 years ago
Thayne McCombs
6f6fced103
feat: implement Barrier using Condvar
5 years ago
dignifiedquire
27c605b4c9
cr: bring back trace call
5 years ago
dignifiedquire
faea222b9c
fix: use run instead of block_on
5 years ago
dignifiedquire
e0928463b1
fix windows traits
5 years ago
dignifiedquire
92532612b7
mark spawn_local unstable
5 years ago
dignifiedquire
1a6d4f6a2f
fix windows trait declarations for rawsocket
5 years ago
dignifiedquire
280b1a4344
remove invalid doc comment
5 years ago
dignifiedquire
48dd683535
fix feature settings
5 years ago
dignifiedquire
e4df1405c1
feat: add basic wasm support
5 years ago
dignifiedquire
3161a4e449
add some missing windows imports
5 years ago
dignifiedquire
228cc59b3b
feat: add spawn_local
5 years ago
dignifiedquire
0a7a52aed5
update to work on smol/master
5 years ago
dignifiedquire
10c8b9a6d8
silence must use
5 years ago
dignifiedquire
ab9d6554aa
switch to smol::Timer
5 years ago
dignifiedquire
f5fa0d7e4e
avoid boxing futures
5 years ago
dignifiedquire
b96afc41dc
implement task locals
5 years ago
dignifiedquire
75ab7219df
bring back random
5 years ago
dignifiedquire
e082634b5e
fix spawning
5 years ago
dignifiedquire
fc9ee0dfdd
keep std::sync::Arc
5 years ago
dignifiedquire
1308fbdf55
switch to smol instead of an internal runtime
5 years ago
Friedel Ziegelmayer
b446cd0230
Merge pull request #748 from async-rs/fix/scheduler-2
...
fix(rt): bring back dynamic machines
5 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
5 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
5 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
5 years ago
Friedel Ziegelmayer
fc4e472599
Merge pull request #733 from k-nasa/new-scheduler
...
New scheduler
5 years ago
k-nasa
088aa5662c
refactor: Remove wrapping cell
5 years ago
Devashish Dixit
68fa054517
Update futures-timer to 3.0.2
5 years ago
k-nasa
11ee2a8985
fix
5 years ago
k-nasa
322911142c
lock processor and remove unsafe Send, Sync
5 years ago
k-nasa
cfaec2aa95
re add spin_lock
5 years ago
k-nasa
6d3ca5a06f
remove poll function
5 years ago
k-nasa
f960776846
fix
5 years ago
k-nasa
24c5dbf949
Remove scheduler state
5 years ago
k-nasa
d7ee29a03f
fix test code
5 years ago
k-nasa
2b44c1be2e
refactor: swap to swap_and_compare
5 years ago
k-nasa
b1ec1ea930
Move Spinlock to sync module
5 years ago
k-nasa
2ab075d027
refactor
5 years ago
k-nasa
c0f18600cf
run ignored test
5 years ago
k-nasa
6c8237276b
fix doc test
5 years ago
k-nasa
98cbf7f8eb
Restore task::spawn_blocking
5 years ago
k-nasa
84e5c5f351
Merge branch 'master' into new-scheduler
5 years ago
Yoshua Wuyts
b7c7efc797
Update try_channel doctests
5 years ago
Yoshua Wuyts
7885c245c5
recverror
...
Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
5 years ago
Yoshua Wuyts
7b7b959a6e
mark channel errs as unstable
...
Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
5 years ago
Yoshua Wuyts
32dce319d3
expose try_recv and try_send on channels
...
Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
5 years ago
Yoshua Wuyts
49dd02b4de
Make the split struct public
5 years ago
Yoshua Wuyts
bb11c676a1
doctests pass
5 years ago
Yoshua Wuyts
e026b7579a
Merge pull request #703 from spacekookie/recv-docs
...
channel/recv: improving function docs and code example
5 years ago
k-nasa
8931d1464e
fix ci
5 years ago
nasa
cc19592f80
Revert "Stabilize most stream method and remove unnecessary macros"
5 years ago
k-nasa
b95bd6c1fe
fix: Remove unnecessary io modules
5 years ago
k-nasa
1e18839f1f
fix warning
5 years ago
k-nasa
f31878655e
fix: Stabilize stream method
5 years ago
k-nasa
9a62df143f
add whitespace
5 years ago
k-nasa
75223905bd
fix: Stabilize stream most method
5 years ago
k-nasa
be60dd9fe7
fix: Remove unnecessary re-export and macros
5 years ago
k-nasa
23b7c174f3
feat: Stabilize io::Std*Lock
5 years ago
k-nasa
bd60cd9f81
run `cargo fmt`
5 years ago
Yoshua Wuyts
d87e283215
Update src/lib.rs
5 years ago
Yoshua Wuyts
283a54a155
Update src/lib.rs
5 years ago
Yoshua Wuyts
3719484eba
Update src/lib.rs
...
Co-Authored-By: nasa <htilcs1115@gmail.com>
5 years ago
Katharina Fey
aae835cc14
channel/recv: improving function docs and code example
...
At the moment it's not clear when and why recv returns Option<T>,
instead of just T. This changed comment makes it clear that None will
only be returned once no data will ever be sent again (i.e. after all
senders are gone).
5 years ago
Oleg Nosov
d7cab38b67
`core` => `std`
5 years ago