about summary refs log tree commit homepage
path: root/lib
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2010-02-13 03:39:17 -0800
committerEric Wong <normalperson@yhbt.net>2010-02-13 03:39:17 -0800
commit05e577616b74bea99a0e43e07f28823ddda1aaf9 (patch)
tree09a9b30231e9dfe8bd27af29f1600be27bcd99a0 /lib
parent9adbee0ab71bf408db5c3befb43b2bab0d86ebb2 (diff)
downloadruby_posix_mq-05e577616b74bea99a0e43e07f28823ddda1aaf9.tar.gz
This fixes a misuse of the Ruby API leading to memory leaks in
cases where message queues are continually opened and closed
throughout the lifetime of the application.

Fortunately applications have little reason to repeatedly open
and close message queue descriptors: they are
multi-thread/multi-process-safe in every way imaginable and also
capable of non-blocking operation.
Diffstat (limited to 'lib')
-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 356a9f5..af31c16 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.0
-  VERSION = '0.3.0'
+  # version of POSIX_MQ, currently 0.3.1
+  VERSION = '0.3.1'
 
   # An analogous Struct to "struct mq_attr" in C.
   # This may be used in arguments for POSIX_MQ.new and