Carl Lerche and GitHub
e964c4136c
Bump subcrate versions ( #524 )
...
* tokio-current-thread 0.1.1
* tokio-executor 0.1.3
* tokio-fs 0.1.3
* tokio-reactor 0.1.3
* tokio-tcp 0.1.1
* tokio-timer 0.2.5
tokio-executor-0.1.3
tokio-current-thread-0.1.1
tokio-reactor-0.1.3
tokio-timer-0.2.5
tokio-tcp-0.1.1
tokio-fs-0.1.3
2018-08-06 20:36:50 -07:00
Brian Olsen and Carl Lerche
0490280d66
tokio-fs: Add async versions of most of std::fs ( #494 )
...
* create_dir
* create_dir_all
* hard_link
* read_dir
* read_link
* remove_dir
* remove_file
* rename
* set_permissions that works with path
* symlink_metadata
* symlink on unix
* symlink_dir on windows
* symlink_file on windows
2018-07-31 21:39:27 -07:00
Sam Rijs and Carl Lerche
0f76470172
detect and handle recursive calls to DefaultExecutor ( #473 )
2018-07-30 20:59:08 -07:00
Stjepan Glavina and Carl Lerche
9352249c3e
Terminate backup threads when idle ( #489 )
2018-07-30 20:48:53 -07:00
Stjepan Glavina and Carl Lerche
e5b2681513
Fix a race in thread wakeup ( #507 )
2018-07-30 20:46:46 -07:00
Stjepan Glavina and Carl Lerche
629c9f0698
Small fixes ( #508 )
...
* Make Shutdown public
* Remove unused import
* Fix documentation mistake
* Fix typo
2018-07-30 20:46:04 -07:00
Alan Somers and Carl Lerche
5d0d2a2e12
Ignore tokio-uds's test_socket_pair on FreeBSD. ( #493 )
...
It requires FreeBSD 12.0 or later. Also, fix a spelling mistake in a
comment.
2018-07-24 14:00:01 -07:00
kohensu and Carl Lerche
ad4693a18f
Fix the doc of read_to_end method ( #482 )
2018-07-24 13:57:15 -07:00
Laurențiu Nicola and Carl Lerche
c85bde3170
tokio: expose tokio_fs::metadata ( #479 )
2018-07-24 13:56:42 -07:00
Jon Gjengset and Carl Lerche
1e90e27720
Count in-transit spawned futures to current thread executor as pending ( #478 )
2018-07-24 13:49:01 -07:00
Carl Lerche and GitHub
f212a2ab9d
Fix Weak tsan whitelist ( #505 )
2018-07-24 13:37:48 -07:00
Michal 'vorner' Vaner and Carl Lerche
84db325628
RunError and few more error types implements Error ( #501 )
...
This allows them to be used with things like `failure`.
2018-07-24 13:27:57 -07:00
Douman and Carl Lerche
365efec24a
Add Interval::interval shortcut for a better usability ( #492 )
2018-07-23 23:08:49 -07:00
David Kellum and Carl Lerche
491f15827b
General rustdoc improvements ( #450 )
...
* Normalize links to docs.rs/CRATE/M.N/...
docs.rs is smart enough to show docs for the latest M.N.P release when
M.N is used in the link. For example:
https://docs.rs/mio/0.6/mio/struct.Poll.html
..will show mio 0.6.14 and later docs. While using the `M.N.*`
(ASTERISK) syntax also works, `M.N` is the more common usage, so
standarize a few existing links to that format.
* Fix missing or malformed rustdoc links
* executor lib rustdoc minor format change
* Promote tokio-threadpool crate level comments to rustdoc
* Replace hidden tokio::executor::thread_pool docs with deprecation note
* Fix typo/simplify util module rustdoc
* Reuse some tokio::executor::thread_pool rustdoc for the crate
Relates to #421
2018-07-22 13:35:30 -07:00
Stjepan Glavina and Carl Lerche
c17ecb53e7
Pad fields to cacheline size to avoid false sharing ( #475 )
2018-07-16 14:22:48 -07:00
Jon Gjengset and Carl Lerche
6ba8e7621d
Add free block_on_all in current thread Runtime ( #477 )
2018-07-11 15:32:58 -07:00
Laurențiu Nicola and Carl Lerche
39c95d6206
tokio-fs: Bump version to 0.1.2 ( #469 )
...
* Add a couple of missing full stops in the documentation
tokio-fs-0.1.2
2018-07-11 15:09:37 -07:00
Sam Rijs and Carl Lerche
78b6bd4ca5
implement Send and Sync for DefaultExecutor ( #472 )
...
Fxes #376
2018-07-11 12:35:32 -07:00
Richard Dodd (dodj) and Carl Lerche
b3ff9e315c
Update lib.rs ( #471 )
...
Fix build failure on nightly (combination of warning for "cannot be resolved" and lint deny(warnings))
2018-07-11 12:30:51 -07:00
Stjepan Glavina and Carl Lerche
990186ec9d
Optimize spinning in Worker::run ( #470 )
2018-07-11 12:30:26 -07:00
Stjepan Glavina and Carl Lerche
19da6ff59a
New version of crossbeam-deque ( #468 )
2018-07-11 12:24:10 -07:00
Roman and Carl Lerche
36c817f0c3
Update rand dep from 0.4 to 0.5 ( #458 )
2018-07-11 12:14:40 -07:00
David Kellum and Carl Lerche
35123f7ae4
Additional details for tokio-fs rustdoc ( #454 )
2018-07-11 12:13:16 -07:00
João Oliveira and Carl Lerche
54b7c1b10d
tokio-tcp: add tokio::net::TcpStream::try_clone ( #448 )
2018-07-11 11:54:08 -07:00
Patrick Barrett and Carl Lerche
e6fc3d209d
return NotReady when recv_from wouldblock in uds ( #452 )
2018-07-11 11:37:57 -07:00
Carl Lerche and GitHub
f98b81e527
Bump minimum supported Rust to 1.25. ( #465 )
...
Currenty, 1.27 is the latest released Rust version.
2018-07-06 14:14:05 -07:00
Stjepan Glavina and Carl Lerche
dc7202cfa9
Replace XorShiftRng with a custom RNG ( #466 )
2018-07-06 13:33:52 -07:00
Carl Lerche and GitHub
f1a7caea3f
Bump tokio-threadpool to v0.1.5 ( #462 )
tokio-threadpool-0.1.5
2018-07-05 10:22:03 -07:00
Stjepan Glavina and Carl Lerche
b019532bc2
Implement status() for DefaultExecutor ( #463 )
2018-07-05 10:19:49 -07:00
Stjepan Glavina and Carl Lerche
7fb579c667
Fix a race in thread wakeup ( #459 )
2018-07-03 16:28:50 -07:00
Stjepan Glavina and Carl Lerche
dbefa67058
Make WorkerId public ( #460 )
2018-07-02 13:34:08 -07:00
Roman and Carl Lerche
24d99c029e
Add a verbose error message for BlockingError ( #451 )
...
Add a verbose error message for EnterError while trying to run
tokio_threadpool::blocking on a current_thread::Runtime
2018-06-26 08:37:48 -07:00
Laurențiu Nicola and Carl Lerche
3fecd0154c
Add an explicit wait for the test to finish ( #445 )
2018-06-22 14:07:02 -07:00
Laurențiu Nicola and Carl Lerche
0440343a11
tokio-fs: add changelog for 0.1.2 ( #444 )
2018-06-22 14:06:50 -07:00
Roman and Carl Lerche
3cf56b7bfa
Fix unneeded mut and some deprecated api ( #442 )
2018-06-21 09:47:21 -07:00
Roman and Carl Lerche
7153d8d6ce
Add a verbose error message for EnterError ( #441 )
...
Add a verbose error message for EnterError while trying to run an
executor while another executor is already running.
Fixes : #410
2018-06-21 09:46:45 -07:00
Laurențiu Nicola and Carl Lerche
ecfe2f6a05
tokio-fs: add tokio_fs::File::seek ( #434 )
2018-06-21 09:43:35 -07:00
Laurențiu Nicola and Carl Lerche
5753553ba3
Move metadata to a submodule ( #439 )
2018-06-21 09:41:38 -07:00
Laurențiu Nicola and Carl Lerche
04a4bfd455
tokio-fs: add tokio_fs::metadata ( #433 )
2018-06-20 13:12:06 -07:00
Jake Goulding and Carl Lerche
b2f77dcebe
Add a dedicated Future for retrieving the metadata of a file ( #385 )
2018-06-18 16:00:43 -07:00
Carl Lerche and GitHub
85cf47de86
Enable backtraces in CI & disable TSAN ( #436 )
...
This PR enables backtraces when running tests and disables tsan for the thread pool.
The thread sanitizer was generating too many false positives. Once #329 lands, then it can
be re-enabled.
2018-06-18 15:15:45 -07:00
Steven Fackler and Carl Lerche
45bcea6c4f
Reexport tokio_uds::ConnectFuture ( #430 )
2018-06-18 13:26:06 -07:00
Carl Lerche and GitHub
3fac7ce68c
Add some thread pool docs ( #421 )
2018-06-15 15:20:25 -07:00
Marc-Antoine Perennou and Carl Lerche
71c8f561e3
runtime: add block_on_all ( #398 )
...
Signed-off-by: Marc-Antoine Perennou <[email protected] >
2018-06-14 22:13:39 -07:00
Sean McArthur and Carl Lerche
011ebf44eb
Implement Executor for Box<E: Executor> ( #420 )
2018-06-14 16:28:23 -07:00
Carl Lerche and GitHub
c25ea78ec9
Bump version of a number of sub crates ( #414 )
...
This includes:
* tokio-codec (0.1.0)
* tokio-current-thread (0.1.0)
* tokio-fs (0.1.1)
* tokio-io (0.1.7)
* tokio-reactor (0.1.2)
* tokio-udp (0.1.1)
tokio-current-thread-0.1.0
tokio-io-0.1.7
tokio-udp-0.1.1
tokio-reactor-0.1.2
tokio-fs-0.1.1
tokio-codec-0.1.0
2018-06-13 10:24:56 -07:00
Carl Lerche and GitHub
2e0cd292d2
Fix some broken doc links ( #413 )
2018-06-13 09:02:46 -07:00
Sylwek and Carl Lerche
4ebaf18c27
Typo ( #415 )
2018-06-13 09:02:34 -07:00
Carl Lerche and GitHub
ab07733d66
Deprecate executor re-exports ( #412 )
2018-06-12 14:41:12 -07:00
Mat Sadler and Carl Lerche
d1f825ca13
Add OpenOptions to tokio-fs ( #390 )
...
Add an `OpenOptions` struct to `tokio-fs` that mirrors the one found in
`std`. Also provide a conversion from a `std` instance to a Tokio instance.
2018-06-12 10:47:24 -07:00