posix_mq RubyGem user+dev discussion/patches/pulls/bugs/help
 help / color / mirror / code / Atom feed
* Ruby 1.8 + blocking + threads support?
@ 2010-02-21  0:52 Eric Wong
  2010-02-21 12:46 ` Iñaki Baz Castillo
  0 siblings, 1 reply; 2+ messages in thread
From: Eric Wong @ 2010-02-21  0:52 UTC (permalink / raw)
  To: ruby.posix.mq

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Ruby 1.8 + blocking + threads support?
  2010-02-21  0:52 Ruby 1.8 + blocking + threads support? Eric Wong
@ 2010-02-21 12:46 ` Iñaki Baz Castillo
  0 siblings, 0 replies; 2+ messages in thread
From: Iñaki Baz Castillo @ 2010-02-21 12:46 UTC (permalink / raw)
  To: ruby.posix.mq

El Domingo, 21 de Febrero de 2010, Eric Wong escribió:
> 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.

Personally I use Ruby 1.9 for all my new projects, and since they are expected 
to be released in a future I also expect that Ruby 1.9 will already be stable 
and widely available (deb, rpm packages and so).


-- 
Iñaki Baz Castillo <ibc@aliax.net>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-02-21 12:47 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-02-21  0:52 Ruby 1.8 + blocking + threads support? Eric Wong
2010-02-21 12:46 ` Iñaki Baz Castillo

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