Skip to content

samples/rust: add echo server sample#752

Merged
wedsonaf merged 3 commits intoRust-for-Linux:rustfrom
wedsonaf:echo-server
Jul 1, 2022
Merged

samples/rust: add echo server sample#752
wedsonaf merged 3 commits intoRust-for-Linux:rustfrom
wedsonaf:echo-server

Conversation

@wedsonaf
Copy link
Copy Markdown

@wedsonaf wedsonaf commented Apr 29, 2022

This example uses Rust async for the server and a workqueue-based
executor to run async tasks.

Based on #798 and #796

Signed-off-by: Wedson Almeida Filho wedsonaf@google.com

@wedsonaf
Copy link
Copy Markdown
Author

Updated this to use the workqueue-based executor.

Once the local executor is rebased, I will update this sample to use either one based on a module parameter.

wedsonaf added 3 commits July 1, 2022 02:21
This is a primitive widely used on the C side. We'll need it for Binder
and to implement the workqueue-based executor.

Signed-off-by: Wedson Almeida Filho <wedsonaf@google.com>
This allows async Rust to run tasks on dedicated or shared thread pools
that are managed by existing C kernel infrastructure.

Signed-off-by: Wedson Almeida Filho <wedsonaf@google.com>
This example uses Rust async for the server and a workqueue-based
executor to run async tasks.

Signed-off-by: Wedson Almeida Filho <wedsonaf@google.com>
@wedsonaf wedsonaf merged commit 4536277 into Rust-for-Linux:rust Jul 1, 2022
@wedsonaf wedsonaf deleted the echo-server branch July 1, 2022 22:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant