[ruby-cvs:60019] nobu:r52866 (trunk): configure.in: split SET_THREAD_NAME

nobu at ruby-lang.org nobu at ruby-lang.org
Thu Dec 3 11:57:16 JST 2015


nobu	2015-12-03 11:57:14 +0900 (Thu, 03 Dec 2015)

  New Revision: 52866

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

  Log:
    configure.in: split SET_THREAD_NAME
    
    * configure.in: separate SET_CURRENT_THREAD_NAME, which can set
      the name of current thread only, and SET_ANOTHER_THREAD_NAME,
      which can set the name of other threads.
    * thread.c (rb_thread_setname): use SET_ANOTHER_THREAD_NAME.  OS X
      is not possible to set another thread name.
    * thread_pthread.c (native_set_thread_name, thread_timer): use
      SET_CURRENT_THREAD_NAME.

  Modified files:
    trunk/ChangeLog
    trunk/configure.in
    trunk/thread.c
    trunk/thread_pthread.c


More information about the ruby-cvs mailing list