[ruby-cvs:54818] akr:r47670 (trunk): * thread_pthread.c (native_set_thread_name): New function to

akr at ruby-lang.org akr at ruby-lang.org
Sun Sep 21 14:14:48 JST 2014


akr	2014-09-21 14:14:47 +0900 (Sun, 21 Sep 2014)

  New Revision: 47670

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

  Log:
    * thread_pthread.c (native_set_thread_name): New function to
      set thread name visible with ps command on GNU/Linux.
      Ex. ps -o %c -L
    
    * thread.c (thread_start_func_2): Call native_set_thread_name at
      beginning.
      (rb_thread_inspect_msg): Extract from rb_thread_inspect.

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


More information about the ruby-cvs mailing list