summaryrefslogtreecommitdiffhomepage
path: root/mrbgems/mruby-sleep/src/mrb_sleep.c
AgeCommit message (Collapse)Author
2018-09-06Make `Kernel#sleep` to accept float as a duration time.Yukihiro "Matz" Matsumoto
But when `MRB_WITHOUT_FLOAT` is set, there's no way to sleep for sub seconds. So mruby specific `usleep` is provided.
2018-09-06Remove `Sleep` module that does not exist in CRuby.Yukihiro "Matz" Matsumoto
2018-09-05Refactored `mruby-sleep` gem.Yukihiro "Matz" Matsumoto
* Method implementation functions made `static`. * Function declaration style has been changed. * Unnecessary header file `mrb_sleep.h` removed. * Used `mrb_get_args()` instead of self parsing. * Indentation kept untouched.
2018-09-05Add `mruby-sleep` gem to the core.Yukihiro "Matz" Matsumoto