lib/ext/emfork.rb in amqp-0.5.9 vs lib/ext/emfork.rb in amqp-0.6.0
- old
+ new
@@ -4,9 +4,11 @@
require 'rubygems'
end
require 'eventmachine'
+#:stopdoc:
+
# helper to fork off EM reactors
def EM.fork num = 1, &blk
unless @forks
trap('CHLD'){
pid = Process.wait
\ No newline at end of file