summary refs log tree commit homepage
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2010-03-13 00:28:14 -0800
committerEric Wong <normalperson@yhbt.net>2010-03-13 00:55:11 -0800
commitaa9beecf64739ea084158ff63a92f626bfb5717d (patch)
treee0bbe78d4381617d0c9da4634847431126a308a9
parent437cbe78cb0f239e34f9dbf1341f5b85f96f2f25 (diff)
Small bugfixes and small API changes to avoid potential
issues/misuse are the focus of this release.

For non-blocking operation, the GVL is no longer bounced.  This
reduces synchronization/scheduling overhead when used in
non-blocking applications.

Small cleanups and documentation improvements, too.

* make POSIX_MQ#dup and POSIX_MQ#clone no-op
* do not release GVL for non-blocking operations
* do not release GVL when unlinking/opening
* POSIX_MQ#<< does not release GVL when non-blocking
* avoid shadow warnings
* README: add mailing list archives info
* POSIX_MQ#to_io works under FreeBSD, too
* fix potential race with notify(&block)
* add TODO item for using netlink under Linux
* remove non-portable #warning CPP directive
* ensure POSIX_MQ#name is clobber-proof
-rw-r--r--lib/posix_mq.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/posix_mq.rb b/lib/posix_mq.rb
index 33b54f4..55b26a1 100644
--- a/lib/posix_mq.rb
+++ b/lib/posix_mq.rb
@@ -1,8 +1,8 @@
 # -*- encoding: binary -*-
 class POSIX_MQ
 
-  # version of POSIX_MQ, currently 0.3.1
-  VERSION = '0.3.1'
+  # version of POSIX_MQ, currently 0.4.0
+  VERSION = '0.4.0'
 
   # An analogous Struct to "struct mq_attr" in C.
   # This may be used in arguments for POSIX_MQ.new and