Skip to content

Instantly share code, notes, and snippets.

@ecin
Created June 14, 2009 08:13
Show Gist options
  • Save ecin/129602 to your computer and use it in GitHub Desktop.
Save ecin/129602 to your computer and use it in GitHub Desktop.
/*
* Sleep until we need to wake up to honour D options controlling
* consumption rates.
*/
VALUE dtrace_hdl_sleep(VALUE self)
{
dtrace_handle_t *handle;
Data_Get_Struct(self, dtrace_handle_t, handle);
dtrace_sleep(handle->hdl);
return Qnil;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment