POSIX_MQ#autoclose= propagates to IO
commit060ec9240134bc759d3966360a79825743e3de16
authorEric Wong <normalperson@yhbt.net>
Mon, 12 Jan 2015 08:27:41 +0000 (12 08:27 +0000)
committerEric Wong <e@80x24.org>
Fri, 16 Jan 2015 20:05:29 +0000 (16 20:05 +0000)
treee3306d1877236d1634b60ab563ba1c24236e5852
parent15a1f2100a09cef45fd17c283e3b784bd8031c9a
POSIX_MQ#autoclose= propagates to IO

If a corresponding IO object exists or is created later, propagate
autoclose to the corresponding IO object to avoid simplify autoclose
handling for the user.  This hopefully avoids nasty surprises in case
users disable autoclose but want to keep the IO object around.
ext/posix_mq/posix_mq.c
test/test_posix_mq.rb