Closed fperrad closed 3 years ago
This seems out of place for cqueues: there isn't anywhere related to cqueues that this function would be recommended.
Consider lunix instead.
make sense.
lunix
seems to be a good alternative to LuaPosix
.
on https://github.com/wahern/lunix/tags, there is rel-20190403
.
but on luarocks.org, you stay with 20170920
it is an equivalent of socket.gettime
gettime
returns an epoch time with ms (milli second) precision.note:
monotime
allows to compute duration with us (micro second) precision or better.