On Thu, 12 Feb 2026, Bertho Stultiens wrote:
Hi all,
Is there anybody who has a LinuxCNC instance that runs for more than
(multiples of) about 49 days at a time (that is for a 1kHz servo-thread)?
There is a race condition when a 32-bit heartbeat counter wraps. It can only
be hit every ~49 days within a time window of one servo-thread period
(usually 1ms). So, the chance of hitting the race is very remote and can only
be hit if you are actively tracking the heartbeat variable, which usually
nobody does.
So, does it need to be taken care of or should it be considered academic?
--
Greetings Bertho
(disclaimers are disclaimed)
I have run hardware tests for up to 3 months or so.
What would the wrap of the heratbeat counter do?
_______________________________________________
Emc-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-developers
Peter Wallace
Mesa Electronics
_______________________________________________
Emc-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-developers