function rb_thread_cleanup

static void rb_thread_cleanup(void)