lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


> > Why not simply call usleep with t*1e6 ?
> 
> Because POSIX allows usleep to return EINVAL if the argument is >= 1e6

Ah, I missed "The useconds argument shall be less than one million." in
	http://pubs.opengroup.org/onlinepubs/009695399/functions/usleep.html

Sorry for the noise.