Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unexpected result from example code in /2022-02-io_uring-worker-pool #47

Open
eecheng87 opened this issue Mar 16, 2022 · 1 comment
Open

Comments

@eecheng87
Copy link

eecheng87 commented Mar 16, 2022

Hello,
thanks for your example code and blog post.

I execute the program udp-read with argument --async --threads 2 --rings 1
However, I always get Error: Invalid argument (os error 22) (even I changed the arguments).

I'm wondering do I missing some details? (I'm not familiar with rust)

Configuration:
rustc version: 1.56.1
cargo version: 1.56.0

@dangleenTuple
Copy link

I'm having a hard time reproducing the bug. Are your commands as follows?

[Insert cloning process of choice]
cargo build
cargo run -- --async --threads 2 --rings 1

Also, are you saying with these specific arguments you get this error or you get the error no matter the arguments?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants