From: matz@... (Yukihiro Matsumoto) Date: 2003-03-03T16:45:45+09:00 Subject: Re: More on blocking... Hi, In message "Re: More on blocking..." on 03/03/03, Seth Kurtzberg writes: |Does this also apply to the recv() call? Unfortunately, it does. |Clearly, though, this doesn't help if recv() also blocks. Do you think that |it will? Basically, when you're using threads, you don't have to use O_NONBLOCK. Data availability at the beginning of the read call (including read, sysread, recv) is checked by select(2) implicitly in the thread scheduler, and fread(3) read as much data available at each call. Thus, even when reading thread is blocked, other threads should keep moving. matz.