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: Ruby 1.8 + blocking + threads support?
Date: Sat, 20 Feb 2010 16:52:09 -0800	[thread overview]
Message-ID: <20100221005209.GA27905@dcvr.yhbt.net> (raw)
In-Reply-To: <20100221005209.GA27905@dcvr.yhbt.net>

Does anybody want this badly?

Or are you all happily using 1.9 where we properly release the GVL if we
need to block? (or just avoiding threads entirely).

Currently we block the entire process under 1.8 when doing a blocking
send/receive on a full/empty queue.

We _can_ support 1.8 thread-safe blocking under Linux/FreeBSD only
(which may be enough), but I'm unlikely to make the effort unless people
really want it...  Patches to that affect accepted, of course, but
I recommend 1.9 for any new projects people are starting since it's
easier to deal with and faster to boot.

-- 
Eric Wong


       reply	other threads:[~2010-02-21  0:52 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-02-21  0:52 Eric Wong [this message]
2010-02-21 12:46 ` Ruby 1.8 + blocking + threads support? Iñaki Baz Castillo

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=20100221005209.GA27905@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).