ruby-core@ruby-lang.org archive (unofficial mirror)
 help / color / mirror / Atom feed
From: Eric Wong <normalperson@yhbt.net>
To: Ruby developers <ruby-core@ruby-lang.org>
Subject: [ruby-core:71241] Re: [Ruby trunk - Bug #11384] multi-threaded autoload sometimes fails
Date: Wed, 28 Oct 2015 09:03:41 +0000	[thread overview]
Message-ID: <20151028090341.GA29213@dcvr.yhbt.net> (raw)
In-Reply-To: <redmine.journal-54616.20151028055427.0b78d402f0c66f6a@ruby-lang.org>

shugo@ruby-lang.org wrote:
> > Eric Wong <normalperson@yhbt.net> wrote:
> >  > http://80x24.org/spew/m/94541be0225540e34f0196e9754ae0eb5c07a4b7.txt
>
> Your patch looks good to me, and at least it solves the race condition
> of autoload_require(), even if there's still another race condition.
> Why don't you commit it?

Thanks for the reminder.  I'll take a closer look at it tomorrow or day
after when I'm more awake.  It's been eons since I wrote that
patch; maybe I did not fully understand the original code I replaced.

Will also take another look at Bug #10892, too.

  reply	other threads:[~2015-10-28  8:35 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <redmine.issue-11384.20150722005813@ruby-lang.org>
2015-07-22  0:58 ` [ruby-core:70075] [Ruby trunk - Bug #11384] [Open] multi-threaded autoload sometimes fails normalperson
2015-10-28  5:54 ` [ruby-core:71239] [Ruby trunk - Bug #11384] " shugo
2015-10-28  9:03   ` Eric Wong [this message]
2015-10-28 23:14   ` [ruby-core:71256] " Eric Wong
2015-10-28 23:49     ` [ruby-core:71257] " Eric Wong
2015-10-29  2:09 ` [ruby-core:71258] " shugo
2015-11-03  3:33   ` [ruby-core:71305] " Eric Wong
2017-05-11 23:43 ` [ruby-core:81105] [Ruby trunk Bug#11384][Open] " s.wanabe
2017-05-12  0:01   ` [ruby-core:81106] " Eric Wong
2017-05-12 21:51 ` [ruby-core:81130] [Ruby trunk Bug#11384] " normalperson
2017-06-30 10:56 ` [ruby-core:81853] " usa
2017-07-09 20:46 ` [ruby-core:81984] " nagachika00

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-list from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.ruby-lang.org/en/community/mailing-lists/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20151028090341.GA29213@dcvr.yhbt.net \
    --to=ruby-core@ruby-lang.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).