The user thread can do its own thing without waiting. What can the user thread do without data?

searched for a lot of information about multiplexing on the Internet. the general description is that the user thread registers with the demultiplexing function select, and when the relevant operation is completed, the user thread is informed to read the data. The user thread can continue to do its own thing without blocking. So excuse me, the user thread did not get the data, nor can it carry out the follow-up operation. So what can the user thread do during this period of time before the registration is completed until it is notified to read the data? Do something that has nothing to do with reading data?
Thank you!


can continue to accept other requests
can handle IO that has been prepared


can block and others call

Menu