[ruby-cvs:62123] nobu:r54960 (trunk): thread.c: clear atfork functions

nobu at ruby-lang.org nobu at ruby-lang.org
Mon May 9 10:46:38 JST 2016


nobu	2016-05-09 10:46:37 +0900 (Mon, 09 May 2016)

  New Revision: 54960

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

  Log:
    thread.c: clear atfork functions
    
    * thread.c (rb_thread_atfork, rb_thread_atfork_before_exec): do
      nothing unless working fork is available.
    * thread_sync.c (rb_mutex_abandon_all): define only if working
      fork is available.
    * thread_sync.c (rb_mutex_abandon_keeping_mutexes): ditto.
    * thread_sync.c (rb_mutex_abandon_locking_mutex): ditto.
    * thread_win32.c (gvl_init): never used.

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


More information about the ruby-cvs mailing list