Project

General

Profile

« Previous | Next » 

Revision e78d4e69

Added by kosaki (Motohiro KOSAKI) over 12 years ago

  • thread.c (rb_mutex_owned_p): remove static.
  • io.c (io_flush_buffer): don't hold mutex if already have.
    Now recursive lock may occur when following scenario.
    fptr_finalize -> finish_writeconv_sync -> finish_writeconv
    -> io_fflush.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38400 b2dd03c8-39d4-4d8f-98ff-823fe69b080e