Magnus Hagander wrote:
> I guess I've spent too much time listening to people, including
myself,
> assuming how things work without actually testing it.
>
> It turns out that both select() and recv() (and thus, probably send()
as
> well) put the thread in alertable state. This means that while we are
in
> a blocking select() or recv(), *our signals will be delivered using an
> APC*.
Ha! That makes things easy then, doesn't it!
As for the polling, adding a poll to one or two strategic plaes (like
the I/O subsystem) should cover 99% of the reasonable cases...
Merlin