[erlang-questions] Sending message at a specific and accurate time
Mon Feb 22 15:31:44 CET 2016
> L = fun Loop() -> receive after 1 -> Loop() end end.
That is a process doing minimal sleep, but still sleeps ( I think )
Adding this little ”helper” process changes the timing on my mac to the better.
From 3-4 ms latency to to around 1 or less.
Power cable did not affect the latency for me either.
> On 22 feb 2016, at 13:19, Jesper Louis Andersen <jesper.louis.andersen@REDACTED> wrote:
> On Mon, Feb 22, 2016 at 1:16 PM, Ola Bäckström <Ola.Backstrom@REDACTED> wrote:
> Do you get different result with power cable plugged in compared to not plugged in?
> I controlled for that by trying it with and without the cable plugged. It isn't affecting the latencies.
> Any kind of dynamic timing system shouldn't really affect this either. If anything it ought to improve the precision.
> erlang-questions mailing list
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 801 bytes
Desc: Message signed with OpenPGP using GPGMail
More information about the erlang-questions