open/notify: invoke GC if needed
commit3cf7ec34b6319693af14215ebb0da51c3e6a4603
authorEric Wong <normalperson@yhbt.net>
Mon, 2 Aug 2010 08:28:15 +0000 (2 08:28 +0000)
committerEric Wong <normalperson@yhbt.net>
Mon, 2 Aug 2010 08:31:37 +0000 (2 08:31 +0000)
tree0a945e53ec5a4b7d566260363b0e7d1fd166e13b
parent3ca83d322486bb3da20d974af7faa74f9df891d8
open/notify: invoke GC if needed

On ENOMEM, EMFILE, and ENFILE errors, it is customary to
invoke the Ruby GC and free up resources and retry the
system call.
ext/posix_mq/posix_mq.c
test/test_posix_mq.rb