add changelog

This commit is contained in:
fakeshadow 2020-10-29 01:08:25 +08:00
parent c479243934
commit 9564dac5c3
3 changed files with 14 additions and 5 deletions

View File

@ -6,6 +6,16 @@
* Add `System::attach_to_tokio` method. [#173]
### Changed
* Deprecate `Arbiter::is_running`and `Arbiter::local_join`. `Arbiter::spawn` would panic when `System` is not in scope. [#207]
### Fixed
* Fix work load issue by removing `PENDDING` thread local. [#207]
[#207]: https://github.com/actix/actix-net/pull/207
## [1.1.1] - 2020-04-30
### Fixed

View File

@ -63,7 +63,3 @@ pub mod time {
pub use tokio::time::{interval, interval_at, Interval};
pub use tokio::time::{timeout, Timeout};
}
pub mod task {
pub use tokio::task::yield_now;
}

View File

@ -24,7 +24,10 @@ impl Runtime {
.basic_scheduler()
.build()?;
Ok(Runtime { rt, local: LocalSet::new() })
Ok(Runtime {
rt,
local: LocalSet::new(),
})
}
pub(super) fn local(&self) -> &LocalSet {