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.
Showing with 395 additions and 101 deletions