posix_mq RubyGem user+dev discussion/patches/pulls/bugs/help
 help / color / mirror / code / Atom feed
From: Eric Wong <normalperson@yhbt.net>
To: ruby.posix.mq@librelist.com
Subject: Re: [PATCH 3/3] Add a sleep in alarm test in current Ruby.
Date: Thu, 12 Jul 2012 08:09:22 +0000	[thread overview]
Message-ID: <20120712080922.GA22717@dcvr.yhbt.net> (raw)
In-Reply-To: CAAB-Kc=T3ZwbeFtTesW+tZEGaG1yKGr0P7seq9UMej7rn0ynFw@mail.gmail.com

Hleb Valoshka <375gnu@gmail.com> wrote:
> This issue can be reproduced with 3 simple LOC
> 
> mkfifo myfifo
> ruby -e "a=0;trap(:USR2) {a+=1}; IO.readlines('myfifo') rescue nil; puts a"
> killall -USR2 ruby
> 
> And it affects only GNU/Linux and OpenBSD but not FreeBSD or GNU/kFreeBSD.
> 
> I've filed an issue: https://bugs.ruby-lang.org/issues/6725

Odd, thanks!

Btw, I've also pushed out the Errno::EINTR-avoidance patch.

I'm still hoping to have more time to look at the FreeBSD9 issues
you've reported.


  reply	other threads:[~2012-07-12  8:09 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-07-03 20:13 [PATCH 1/3] Fix call to DL::Function.new in tests Hleb Valoshka
2012-07-03 20:13 ` [PATCH 2/3] Add libc names for Debian GNU/kFreeBSD and FreeBSD " Hleb Valoshka
2012-07-03 20:13 ` [PATCH 3/3] Add a sleep in alarm test in current Ruby Hleb Valoshka
2012-07-04  0:20   ` Eric Wong
2012-07-04  0:59     ` Eric Wong
2012-07-04 13:39     ` Hleb Valoshka
2012-07-12  8:03       ` Hleb Valoshka
2012-07-12  8:09         ` Eric Wong [this message]
2012-07-12 13:46           ` Hleb Valoshka
2012-07-12 19:46             ` Eric Wong
2012-07-13  7:21       ` Eric Wong
2012-07-13 16:46         ` Hleb Valoshka

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-all from there: mbox

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

  List information: https://yhbt.net/ruby_posix_mq/

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

  git send-email \
    --in-reply-to=20120712080922.GA22717@dcvr.yhbt.net \
    --to=normalperson@yhbt.net \
    --cc=ruby.posix.mq@librelist.com \
    /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.
Code repositories for project(s) associated with this public inbox

	https://yhbt.net/ruby_posix_mq.git/

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).