From 487748fac8b43936bca1209c22fcd995a739aa93 Mon Sep 17 00:00:00 2001 From: kosaki Date: Mon, 30 Nov 2015 20:33:20 +0000 Subject: * thread_pthread.c (register_ubf_list): renamed from add_signal_thread_list. * thread_pthread.c (unregister_ubf_list): renamed from remove_signal_thread_list. * thread_pthread.c (ubf_wakeup_all_threads): renamed from ping_signal_thread_list. * thread_pthread.c (ubf_wakeup_thread): renamed from ubf_select_each. * thread_pthread.c (ubf_threads_empty): renamed from check_signal_thread_list(). * thread_pthread.c (ubf_list_lock): renamed from signal_thread_list_lock. * thread_pthread.c (register_ubf_list): large simplification by using ccan/list.h. bonus: removed malloc() and exit(EXIT_FAILURE). * thread_pthread.c (unregister_ubf_list): ditto. * thread_pthread.c (ubf_threads_empty): ditto. * thread_pthread.c (ubf_wakeup_all_threads): ditto. * thread_pthread.c (print_signal_list): removed. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52818 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- thread_pthread.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'thread_pthread.h') diff --git a/thread_pthread.h b/thread_pthread.h index 24a4af4053..1c3782caf4 100644 --- a/thread_pthread.h +++ b/thread_pthread.h @@ -26,7 +26,7 @@ typedef struct rb_thread_cond_struct { } rb_nativethread_cond_t; typedef struct native_thread_data_struct { - void *signal_thread_list; + struct list_node ubf_list; rb_nativethread_cond_t sleep_cond; } native_thread_data_t; -- cgit v1.2.3