[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: [5.1.4] Most portable solution to "sleep"?
- From: Michal Kolodziejczyk <miko@...>
- Date: Fri, 18 Feb 2011 14:53:22 +0100
On 18.02.2011 14:48, Axel Kittenberger wrote:
> The most portable system/kernel call would be select(0, NULL, NULL,
> NULL, timeout); Most Systems support this. Currently this is neither
> the way luaposix, nor socket.sleep does it.
> But since you target for a Linux variant anyway, its likely fully
> posix compatble, so why not use luaposix?
In theory you are right. In practice there will be another piece of
software to support, which you may wish to avoid. So it really depends
on your personal needs I guess.
Regards,
miko