add margo_thread_sleep() functionality
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.
examples/sleep.c
0 → 100644
include/margo-timer.h
0 → 100644
src/margo-timer.c
0 → 100644
Please register or sign in to comment