• Shane Snyder's avatar
    add margo_thread_sleep() functionality · fd88d80a
    Shane Snyder authored
    I factored the sorted queue implementation Phil created for
    monitoring timeouts out into separate files (margo-timer.c/h).
    There is now an interface for submitting timers that define
    a callback function that's executed when the timers expire.
    margo_thread_sleep() and margo_forward_timed() will both use
    this interface, though only margo_thread_sleep() is implemented
    at the moment.
margo-timer.c 3.94 KB