[ruby-cvs:59971] kosaki:r52818 (trunk): * thread_pthread.c (register_ubf_list): renamed from

kosaki at ruby-lang.org kosaki at ruby-lang.org
Tue Dec 1 05:33:21 JST 2015


kosaki	2015-12-01 05:33:20 +0900 (Tue, 01 Dec 2015)

  New Revision: 52818

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=52818

  Log:
    * 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.

  Modified files:
    trunk/ChangeLog
    trunk/thread.c
    trunk/thread_pthread.c
    trunk/thread_pthread.h
    trunk/thread_win32.c


More information about the ruby-cvs mailing list