1
0
mirror of https://github.com/fafhrd91/actix-net synced 2024-12-25 17:45:21 +01:00
Commit Graph

21 Commits

Author SHA1 Message Date
Rob Ede
a0fe2a9b2e
clippy 2021-07-16 21:46:32 +01:00
Rob Ede
32543809f9
add System::try_current () 2021-02-06 22:45:03 +00:00
Rob Ede
eb4d29e15e
add arbiter handle assoc fn ()
* add arbiter handle assoc fn
2021-02-06 22:27:56 +00:00
Rob Ede
4ec358575e
prepare actix-rt v2.0.0 release () 2021-02-03 10:25:31 +00:00
Rob Ede
0b656f51e1
deprecate rt TLS item storage 2021-01-31 04:48:03 +00:00
Rob Ede
0eb68d1c7b
Revert "remove arbiter TLS item storage"
This reverts commit 3e6f69885c.
2021-01-31 04:45:27 +00:00
Rob Ede
3e6f69885c
remove arbiter TLS item storage 2021-01-31 04:43:35 +00:00
Rob Ede
2fa60b07ae
prevent arbiter leaks by waiting for registration 2021-01-31 04:41:28 +00:00
Rob Ede
b75254403a
remove builder and introduce worker handle () 2021-01-31 03:34:07 +00:00
Rob Ede
1b35ff8ee6
express spawn fn as spawn fut () 2021-01-29 15:16:30 +00:00
Rob Ede
2924419905
prevent spawn_fn panic bubbling () 2021-01-29 14:16:10 +00:00
Rob Ede
6b86b5efc5
rename arbiter to worker () 2021-01-29 04:08:14 +00:00
Rob Ede
ba39c8436d
remove tokio runners () 2021-01-29 02:21:06 +00:00
fakeshadow
feac376c17
fix actix-tls build () 2021-01-28 10:31:57 +00:00
Rob Ede
45edff625e
add rt tests and doc tests 2021-01-26 09:46:14 +00:00
fakeshadow
874e5f2e50
change default name resolver and allow custom resolvers () 2021-01-23 01:33:50 +00:00
fakeshadow
0c12930796
update to tokio 1.0 for actix-rt () 2020-12-28 01:40:22 +00:00
fakeshadow
518bf3f6a6
remove RUNNING Q PENDING thread locals from actix-rt () 2020-12-26 23:26:02 +00:00
Jonathas-Conceicao
783880bb0a actix-rt: Add Arbiter::is_running helper and fix System::is_set doc
`Arbiter::is_running` can be used to check if the current even-loop is currently
running; which should also work after the system has stopped. `System::is_set`
was updated to reflect what it actually does, it tells if the event loop has
started, which alone can't tell if it has stopped.

Signed-off-by: Jonathas-Conceicao <jadoliveira@inf.ufpel.edu.br>
2020-04-05 21:00:54 -03:00
Jonathas-Conceicao
f1685d8253 Add Arbiter::local_join associated function
Arbiter::local_join function can be used to await for futures spawned
on current arbiter.

Signed-off-by: Jonathas-Conceicao <jadoliveira@inf.ufpel.edu.br>
2020-02-26 12:59:46 -03:00
Jonathas-Conceicao
e3b6a33b97 Add integration tests
These initial tests validade basic usage with timed futures for:
- `System::block_on`;
- `Arbiter::new`;
- `Arbiter::stop`;
- `Arbiter::join`;

Signed-off-by: Jonathas-Conceicao <jadoliveira@inf.ufpel.edu.br>
2020-02-26 12:59:46 -03:00