[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Luasocket socket.select timeout bugs?
- From: Marius Kjeldahl <marius@...>
- Date: Tue, 21 Sep 2004 23:30:59 +0200
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.
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)
> > tm_markstart(&tm);
> Thanks for finding it.