Extend the existing debug printf call to include the previous state of
the async_event_handler object.
void
mark_async_event_handler (async_event_handler *async_handler_ptr)
{
- event_loop_debug_printf ("marking async event handler `%s`",
- async_handler_ptr->name);
+ event_loop_debug_printf ("marking async event handler `%s` "
+ "(previous state was %d)",
+ async_handler_ptr->name,
+ async_handler_ptr->ready);
async_handler_ptr->ready = 1;
}