[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: All thread blocked on (accept socket)
From: |
Rob Browning |
Subject: |
Re: All thread blocked on (accept socket) |
Date: |
Tue, 05 Mar 2002 15:58:27 -0600 |
User-agent: |
Gnus/5.090006 (Oort Gnus v0.06) Emacs/21.1 (i386-debian-linux-gnu) |
Neil Jerram <address@hidden> writes:
> Firstly, one could argue that, with the current CVS code, the choice
> of behaviours is good: if you _want_ the accept to block all threads,
> just call `accept'; if you don't, call `select' first.
>
> Secondly, if we did make this change, we should logically make it in
> lots of other places as well: connect, recv! etc.
>
> So I think we at least need a bit of a discussion...
In the long run, I think there should be thread-blocking (not process
blocking) versions of all the common IO routines. Whether or not
those should be the *only* versions I'm not sure.
--
Rob Browning
rlb @defaultvalue.org, @linuxdevel.com, and @debian.org
Previously @cs.utexas.edu
GPG=1C58 8B2C FB5E 3F64 EA5C 64AE 78FE E5FE F0CB A0AD