• Jean-Claude BAU's avatar
    Timeout management correction. · 5eaba882
    Jean-Claude BAU authored
    - The timeout expressed in ms is stored in an integer value. A Log
    interval may have a value in the range -128,127. The timeout cannot
    covers all this range. A protection as been added to avoid wrong timeout
    calculation which might generate a crash of PPSI.
    - A new function is also added pp_timeout_log_to_ms() to verify the log
    Interval and calculate the timeout.
    - Optimize the execution of pp_timeout_set()
    5eaba882
timeout.c 5.71 KB