ChangeLog in posix_mq-0.1.0 vs ChangeLog in posix_mq-0.2.0

- old
+ new

@@ -1,6 +1,60 @@ ChangeLog from git://git.bogomips.org/ruby_posix_mq.git () + commit fd2fcdeee6b44f7854255cb7e01c81db3cd2d99c + Author: Eric Wong <normalperson@yhbt.net> + 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 <normalperson@yhbt.net> + 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 <normalperson@yhbt.net> + 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 <normalperson@yhbt.net> + Date: Sat Jan 2 21:19:58 2010 -0800 + + doc: FreeBSD-specific notes + example code + + commit 6f24b5626f89fbb6445c0943ba71f56c8945e18f + Author: Eric Wong <normalperson@yhbt.net> + 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. + commit 522d4d1472c216bd95a16ca5b118bc14693aad64 Author: Eric Wong <normalperson@yhbt.net> Date: Sat Jan 2 02:33:23 2010 -0800 initial commit