Release Name: 0.2.0
Notes:
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://git.bogomips.org/ruby_posix_mq.git
Changes:
This release fixes notification (un)registration and should be
fully-supported on modern FreeBSD (7.2+) releases.
POSIX_MQ#notify=nil correctly unregister notification requests.
POSIX_MQ#notify=false now provids the no-op SIGEV_NONE
functionality. Under FreeBSD, using IO.select on POSIX_MQ
objects is now possible as it has always been under Linux.
Changes:
Documentation/posix-mq.rb.1.txt | 7 +++++
README | 42 ++++++++++++++++++++++++++++++++--
ext/posix_mq/extconf.rb | 3 ++
ext/posix_mq/posix_mq.c | 47 ++++++++++++++++++++++++++++----------
lib/posix_mq.rb | 2 +-
test/test_posix_mq.rb | 18 ++++++++++++++-
6 files changed, 101 insertions(+), 18 deletions(-)
commit fd2fcdeee6b44f7854255cb7e01c81db3cd2d99c
Author: Eric Wong
Date: Sun Jan 3 05:46:45 2010 +0000
posix_mq 0.2.0
This release fixes notification (un)registration and should be
fully-supported on modern FreeBSD (7.2+) releases.
POSIX_MQ#notify=nil correctly unregister notification requests.
POSIX_MQ#notify=false now provids the no-op SIGEV_NONE
functionality. Under FreeBSD, using IO.select on POSIX_MQ
objects is now possible as it has always been under Linux.
commit 350bfc831938d84cc2d478f2cf88583863cb64fb
Author: Eric Wong
Date: Sun Jan 3 05:35:50 2010 +0000
support POSIX_MQ#to_io under FreeBSD
FreeBSD implements an __mq_oshandle(mqd_t mqd) function
to convert mqd_t to integer file descriptors.
commit 26015d39e9c848a536b4ea44802f858a4e6e74f7
Author: Eric Wong
Date: Sun Jan 3 04:17:56 2010 +0000
fix build under FreeBSD 7.2
FreeBSD seems to need some files explicitly included.
commit e7ac70686b3c09953f6c41966dbd77f77368a9ec
Author: Eric Wong
Date: Sat Jan 2 21:19:58 2010 -0800
doc: FreeBSD-specific notes + example code
commit 6f24b5626f89fbb6445c0943ba71f56c8945e18f
Author: Eric Wong
Date: Sat Jan 2 20:41:39 2010 -0800
Fix mq.notify = nil to unregister notifications
"mq.notify = false" also works now, doing what
"mq.notify = nil" used to do (using SIGEV_NONE).
I was confused by SIGEV_NONE usage vs using a NULL pointer for
the notification passed mq_notify(3). SIGEV_NONE does not
actually unregister, it registers a no-op notification which
prevents other processes from taking us.
This also fixes the test case to pass under both Linux and
FreeBSD.
|