Alice Ryhl
0cefa85bfa
runtime: make scheduler non-optional ( #3980 )
2021-07-21 20:05:21 +02:00
Alice Ryhl
2087f3e0eb
runtime: rework binding of new tasks ( #3955 )
2021-07-20 16:43:34 +02:00
Blas Rodriguez Irizar
5ae2855eaf
io: fix docs referring to clear_{read,write}_ready ( #3957 )
2021-07-20 15:35:18 +02:00
Ian Jackson
252004811f
sync: add getter for the mutex from a guard ( #3928 )
2021-07-20 15:28:31 +02:00
Alice Ryhl
549e89e9cd
chore: use the loom mutex wrapper everywhere ( #3958 )
2021-07-20 12:12:30 +02:00
Carl Lerche
c8fc492748
Merge remote-tracking branch 'origin/tokio-1.8.x' into merge-1.8
2021-07-19 12:13:21 -07:00
Carl Lerche
7147042534
chore: prepare Tokio v1.8.2 release
tokio-1.8.2
2021-07-19 11:16:26 -07:00
Diggory Blake
634fcac2d9
runtime: drop future when polling cancelled future ( #3965 )
2021-07-19 11:16:26 -07:00
Diggory Blake
7c4183a45d
runtime: drop future when polling cancelled future ( #3965 )
2021-07-18 22:46:35 +02:00
Alice Ryhl
aef2d64b0a
task: remove mutex in JoinError ( #3959 )
2021-07-16 09:50:03 +02:00
Alice Ryhl
8f10d81613
net: documentation updates ( #3944 )
2021-07-13 14:23:25 +02:00
Alice Ryhl
7a11cfd77a
chore: update async_send_sync test ( #3943 )
2021-07-12 07:38:19 -07:00
Alice Ryhl
6610ba9bd6
runtime: use OwnedTasks in LocalSet ( #3950 )
2021-07-12 14:42:00 +02:00
Alan Somers
3fd88dac64
net: fix the uds_datagram tests with the latest nightly stdlib ( #3952 )
2021-07-12 11:36:50 +02:00
Alice Ryhl
ccd495647d
chore: update nightly version ( #3953 )
2021-07-12 11:21:10 +02:00
Alice Ryhl
80d8d40a34
sync: clean up OnceCell ( #3945 )
2021-07-12 11:19:14 +02:00
Alice Ryhl
3b38ebd7f5
runtime: move inject queue to tokio::runtime::task ( #3939 )
2021-07-12 10:31:36 +02:00
Alan Somers
127983e5b4
tests: update Nix to 0.22.0 ( #3951 )
2021-07-11 09:53:04 +02:00
ty
c306bf853a
net: allow customized I/O operations for TcpStream ( #3888 )
2021-07-08 13:02:40 +02:00
Moritz Gunz
c6fbb9aeb1
task: expose nameable future for TaskLocal::scope ( #3273 )
2021-07-08 12:54:31 +02:00
Alice Ryhl
5d61c997e9
chore: prepare tokio-stream 0.1.7 ( #3923 )
tokio-stream-0.1.7
2021-07-07 10:58:51 +02:00
Alice Ryhl
c505a2f81a
chore: prepare tokio-macros 1.3.0 ( #3931 )
tokio-macros-1.3.0
2021-07-07 10:58:02 +02:00
Alice Ryhl
e2589a0e40
runtime: add OwnedTasks ( #3909 )
2021-07-07 10:53:57 +02:00
Alice Ryhl
51fad066e2
bench: update spawn benchmarks ( #3927 )
2021-07-07 10:52:53 +02:00
Alice Ryhl
ae233c1e9f
Merge branch 'upstream/merge-1.8.1' into 'master'
2021-07-07 10:22:13 +02:00
Alice Ryhl
be26ca7625
sync: wrap state in helper struct ( #3922 )
2021-07-07 10:17:47 +02:00
Carl Lerche
2d41f0303e
Merge branch 'tokio-1.8.x' into merge-1.8.1
2021-07-06 16:20:57 -07:00
Carl Lerche
e0c527f383
chore: prepare Tokio v1.8.1 release
tokio-1.8.1
2021-07-06 15:37:17 -07:00
Carl Lerche
1160e8864c
Merge branch 'tokio-1.7.x' into merge-1.7.2
2021-07-06 15:36:24 -07:00
Carl Lerche
998a125717
chore: prepare Tokio 1.7.2 release
tokio-1.7.2
2021-07-06 14:35:36 -07:00
Carl Lerche
cbfdc9d69e
Merge branch 'tokio-1.6.x' into merge-1.6.3
2021-07-06 14:34:34 -07:00
Carl Lerche
08337c5f79
chore: prepare Tokio v1.6.3
tokio-1.6.3
2021-07-06 13:45:47 -07:00
Carl Lerche
87f4969fbc
Merge branch 'tokio-1.5.x' into merge-1.5.x
2021-07-06 13:44:11 -07:00
Alice Ryhl
e385108920
rt: remotely abort tasks on JoinHandle::abort ( #3934 )
tokio-1.5.1
2021-07-06 13:41:25 -07:00
Blas Rodriguez Irizar
4818c2ed05
fs: document performance considerations ( #3920 )
2021-07-06 16:25:13 +02:00
Blas Rodriguez Irizar
80f0801e19
tokio-macros: compat with clippy::unwrap_used ( #3926 )
2021-07-06 15:01:13 +02:00
David CARLIER
8148b2107c
net: make ucred return pid field for OpenBSD ( #3919 )
2021-07-06 11:15:15 +02:00
oiovoyo
2e7de1ae1d
stream: modify HashMap to StreamMap in example. ( #3925 )
2021-07-05 16:10:55 +02:00
Alice Ryhl
37e60fc7f9
chore: fix new clippy complaint ( #3915 )
2021-07-05 09:58:49 +02:00
Alice Ryhl
8170e2787c
sync: fix watch wrapper ( #3914 )
2021-07-02 23:24:02 +02:00
Alice Ryhl
677107d8d9
chore: prepare Tokio v1.8.0 ( #3912 )
tokio-1.8.0
2021-07-02 22:21:10 +02:00
Alice Ryhl
c8ecfc894d
sync: fix watch borrow_and_update ( #3913 )
2021-07-02 10:14:34 -07:00
Taiki Endo
08ed41f339
chore: fix typos ( #3907 )
2021-07-01 02:06:56 +09:00
Alice Ryhl
90e1935c48
test: test with tracing ( #3906 )
2021-06-30 09:40:10 -07:00
Alice Ryhl
b877629cb1
net: handle HUP event with UnixStream ( #3898 )
...
Fixes : #3879
2021-06-30 09:39:06 -07:00
Mikhail Zabaluev
0531549b6e
io: efficient implementation of vectored writes for BufWriter ( #3163 )
2021-06-29 20:26:47 +02:00
Alice Ryhl
38204f5fba
time: fix Timeout size_hint ( #3902 )
2021-06-29 20:06:10 +02:00
Jacob Rothstein
8fa29cb00a
rt: add tokio::task::Builder ( #3881 )
...
Adds a builder API for spawning tasks. Initially, this enables the caller to name the spawned
task in order to provide better visibility into all tasks in the system.
2021-06-29 10:47:30 -07:00
Alice Ryhl
b521cc2689
doc: document cancellation safety ( #3900 )
...
This patch documents cancellation safety. It also moves the "Avoid racy if preconditions"
section in the select! documentation since otherwise the first code block on the page
shows how not to use it, which seems counterintuitive.
2021-06-29 10:35:42 -07:00
Jake Shadle
57c90c9750
net: add read/try_read etc methods to NamedPipeServer ( #3899 )
2021-06-29 10:05:20 +02:00