Files
Vincent Jicquel f9c514dc1c Fix Wait_For_Processes overflow for long timeouts
Before this fix, the expression (End_Time - Cal.Clock) * 1_000_000 was stored
in a Duration type. On some 64-bit machines, the range of this type can be much
smaller — for example, from -9.22E9 to 9.22E9.

This limitation exists because the number of seconds stored in a Duration is
internally represented as Seconds / Duration'Small, and Duration'Small can be
very small (e.g., 1.0E-9), causing large scaling factors.

A timeval value is now directly used to prevent overflows.

Fixes: eng/toolchain/gnatcoll-core#139
2025-09-02 08:16:55 +00:00
..
2024-07-15 16:56:33 +02:00
2024-07-15 16:56:33 +02:00
2024-07-15 16:56:33 +02:00
2024-07-15 16:56:33 +02:00
2024-07-15 16:56:33 +02:00