public inbox for [email protected]
 help / color / mirror / Atom feed
* Waiting for requests completions from multiple threads
@ 2020-01-22  2:45 Dmitry Sychov
  2020-01-22  2:51 ` Jens Axboe
  0 siblings, 1 reply; 6+ messages in thread
From: Dmitry Sychov @ 2020-01-22  2:45 UTC (permalink / raw)
  To: io-uring

Really nice work, I have a question though.

It is possible to efficiently wait for request completions
from multiple threads?

Like, two threads are entering
" io_uring_enter" both with min_complete=1 while the completion ring
holds 2 events - will the first one goes to thread 1 and the second
one to thread 2?

I just do not understand exactly the best way to scale this api into
multiple threads... with IOCP for example is is perfectly clear.

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2020-01-22 17:55 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-01-22  2:45 Waiting for requests completions from multiple threads Dmitry Sychov
2020-01-22  2:51 ` Jens Axboe
2020-01-22  3:09   ` Dmitry Sychov
2020-01-22  3:16     ` Jens Axboe
2020-01-22  3:28       ` Pavel Begunkov
2020-01-22 17:54         ` Dmitry Sychov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox