[prev in list] [next in list] [prev in thread] [next in thread] 

List:       lua-l
Subject:    Re: Luasocket socket.select timeout bugs?
From:       Marius Kjeldahl <marius () kjeldahl ! net>
Date:       2004-09-21 21:30:59
Message-ID: 200409212330.59480.marius () kjeldahl ! net
[Download RAW message or body]

Excellent. My usage is for a select loop that does not use "nil, nil". I just 
made a minimal case to point it out and figured no need to stuff actual 
sockets in there to demonstrate it.

My usage will be listening for sockets, but I do not want that busy loop 
eating all my CPU cycles.

Thanks,

Marius Kjeldahl

On Tuesday 21 September 2004 20:59, Diego Nehab wrote:
> I should probably update the manual. It's just a bad idea to do this.
> The point of the remark was to discourage its use. One of the problems
> is that lot's of tables will be created for nothing. Another problem is
> that your code will not be portable to Windows.
>
> That said, this *is* a bug. :o)
>
>     64a65
>
>     >     tm_markstart(&tm);
>
> Thanks for finding it.
>
> []s,
> Diego.

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic