• Herbert Valerio Riedel's avatar
    Make `timer_create(CLOCK_REALTIME)` autoconf test more reliable · 8ad9e74f
    Herbert Valerio Riedel authored
    I've noticed that on a platform with a coarse timer/scheduling
    granularity of 10ms this autoconf tests fails to detect a working
    `timer_create(CLOCK_REALTIME)`.
    
    On AIX, this effectively means that intervals/timers are rounded up to
    multiples of 10ms, so a 13ms delay is effectively a 20ms delay.
    
    By using a 100ms timeout we are on the safe side.
    
    Reviewers: austin, bgamari
    
    Reviewed By: bgamari
    
    Subscribers: thomie, erikd
    
    Differential Revision: https://phabricator.haskell.org/D1483
    8ad9e74f
aclocal.m4 67.6 KB