The reason why I asked is that we have a similar issue in glib with g_timeout_add(). And I've been wondering if the correct approach is to do what you did and then adding a g_call_me_when_this_clock_time_has_been_hit() callback for being woken up at a certain point in time. Or if it's better to do it the other way.
What do most people actually expect when they schedule a timeout or call sleep()? Any guesses?
no subject
What do most people actually expect when they schedule a timeout or call sleep()? Any guesses?