posix_mq RubyGem user+dev discussion/patches/pulls/bugs/help
 help / color / mirror / code / Atom feed
* [ANN] posix_mq 1.0.0 - kinder, gentler message queues
@ 2011-03-01  9:21 Eric Wong
  2011-03-01 22:56 ` Iñaki Baz Castillo
  0 siblings, 1 reply; 2+ messages in thread
From: Eric Wong @ 2011-03-01  9:21 UTC (permalink / raw)
  To: ruby.posix.mq

POSIX message queues allow local processes to exchange data in the form
of messages.  This API is distinct from that provided by System V
message queues, but provides similar functionality.

* http://bogomips.org/ruby_posix_mq/
* ruby.posix.mq@librelist.com
* git://bogomips.org/ruby_posix_mq.git

Changes:

There is one backwards-incompatible API change:

  POSIX_MQ#send returns +true+ on success instead of +nil+
  for consistency with POSIX_MQ#trysend.

This release adds the POSIX_MQ#trysend, POSIX_MQ#tryreceive and
POSIX_MQ#tryshift interfaces to avoid exceptions on common
EAGAIN errors for users of non-blocking queues.

Bugfixes: non-blocking behavior changes to a shared descriptor
in a different process are reflected immediately in the child
(this won't fix race conditions in your code, however).
Minor bugfixes for posix-mq-rb(1) and quieted warnings for
1.9.3dev.

-- 
Eric Wong


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

* Re: [ANN] posix_mq 1.0.0 - kinder, gentler message queues
  2011-03-01  9:21 [ANN] posix_mq 1.0.0 - kinder, gentler message queues Eric Wong
@ 2011-03-01 22:56 ` Iñaki Baz Castillo
  0 siblings, 0 replies; 2+ messages in thread
From: Iñaki Baz Castillo @ 2011-03-01 22:56 UTC (permalink / raw)
  To: ruby.posix.mq

2011/3/1 Eric Wong <normalperson@yhbt.net>:
> This release adds the POSIX_MQ#trysend, POSIX_MQ#tryreceive and
> POSIX_MQ#tryshift interfaces to avoid exceptions on common
> EAGAIN errors for users of non-blocking queues.

I was waiting for this release for upgrading my gem:

   https://github.com/ibc/em-posixmq/commit/87855f4efcc88ca140770e751bd80df0b9262b14

:)

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

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

end of thread, other threads:[~2011-03-01 22:56 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-03-01  9:21 [ANN] posix_mq 1.0.0 - kinder, gentler message queues Eric Wong
2011-03-01 22:56 ` 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).