[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Is there a race condition using socket.select on Win32 ?
- From: Javier Guerra <javier@...>
- Date: Mon, 5 Jun 2006 13:50:41 -0500
On Monday 05 June 2006 12:24 pm, Sam Roberts wrote:
> I can't speak to lua, but select(), if its emulating unix behaviour,
> returns immediately if the socket has data to read, not just
> when new data arrives.
right, this is called 'level triggered' opposed to 'edge triggered', where the
call only returns when it detects a change from one state to another.
Description: PGP signature