You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This change:
- Adds futures select for Tokio Runtime
- Temporary disables gRPC client tests in `abitest` since they now require TLS certificates (will be re-enabled after examples start using Rust Loader)
Fixes#982
Currently two pseudo-Nodes (gRPC server and client) are using Tokio Runtime in order to run
async
routines:oak/oak/server/rust/oak_runtime/src/node/grpc/server.rs
Lines 130 to 138 in 11f96d6
oak/oak/server/rust/oak_runtime/src/node/grpc/server.rs
Line 145 in 11f96d6
And because these threads are blocked, they cannot
join
correctly when the Runtime is trying to stop the Node.We might need to use
tokio::sync::oneshot
, that is already used by theAuxServer
:oak/oak/server/rust/oak_runtime/src/runtime/introspect.rs
Lines 170 to 176 in 38522c9
oak/oak/server/rust/oak_runtime/src/runtime/mod.rs
Lines 160 to 165 in 38522c9
oak/oak/server/rust/oak_runtime/src/runtime/mod.rs
Lines 177 to 188 in 38522c9
The text was updated successfully, but these errors were encountered: