diff options
author | 卜部昌平 <[email protected]> | 2019-08-26 15:53:57 +0900 |
---|---|---|
committer | 卜部昌平 <[email protected]> | 2019-08-27 15:52:26 +0900 |
commit | e3fc30564e9466d6926f9d25a090dcf787bd5c33 (patch) | |
tree | d18de0bd0a65d94cf71789d05888e46fd924fcd1 /thread_pthread.c | |
parent | bc3e7924bc66d3ef77b219c72f3e59cc154550a3 (diff) |
rb_thread_create now free from ANYARGS
After 5e86b005c0f2ef30df2f9906c7e2f3abefe286a2, I now think ANYARGS is
dangerous and should be extinct. This commit deletes ANYARGS from
rb_thread_create, which seems very safe to do.
Diffstat (limited to 'thread_pthread.c')
-rw-r--r-- | thread_pthread.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/thread_pthread.c b/thread_pthread.c index 39c3ed0ed4..cbe6aa028a 100644 --- a/thread_pthread.c +++ b/thread_pthread.c @@ -2156,7 +2156,7 @@ timer_pthread_fn(void *p) #endif /* UBF_TIMER_PTHREAD */ static VALUE -ubf_caller(const void *ignore) +ubf_caller(void *ignore) { rb_thread_sleep_forever(); |