cloudflare-blog icon indicating copy to clipboard operation
cloudflare-blog copied to clipboard

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

Open eecheng87 opened this issue 3 years ago • 1 comments

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

eecheng87 avatar Mar 16 '22 09:03 eecheng87

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?

dangleenTuple avatar Mar 25 '24 01:03 dangleenTuple