Created
June 14, 2009 08:13
-
-
Save ecin/129602 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* 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