Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Can we use the select syscall and non-blocking read/write to do asynchronous I/O within a single thread or process?

0
Posted

Can we use the select syscall and non-blocking read/write to do asynchronous I/O within a single thread or process?

0

Sure, if you understand its interface well. As with any kernel modification, just make sure you specify the intended interface unambiguously. You might find the select manpage useful, although you might not; UNIX manpages tend to be references, not tutorials.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123