about summary refs log tree commit homepage
DateCommit message (Collapse)
2010-01-03posix_mq 0.2.0 v0.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.
2010-01-02support POSIX_MQ#to_io under FreeBSD
FreeBSD implements an __mq_oshandle(mqd_t mqd) function to convert mqd_t to integer file descriptors.
2010-01-02fix build under FreeBSD 7.2
FreeBSD seems to need some files explicitly included.
2010-01-02doc: FreeBSD-specific notes + example code
2010-01-02Fix 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.
2010-01-02initial commit v0.1.0