def setup_coalescing
      @c_mutex = Mutex.new
      @c_queue = []

      @c_thread = Thread.new do
        loop do
          Thread.stop if @c_queue.empty?
          sleep 1
          @c_mutex.synchronize {
            call_growl(*@c_queue.shift) until @c_queue.empty?
          }
        end  # loop
      end  # Thread.new
    end
def setup_coalescing
      @c_mutex = Mutex.new
      @c_queue = []

      @c_thread = Thread.new do
        loop do
          Thread.stop if @c_queue.empty?
          sleep 1
          @c_mutex.synchronize {
            call_growl(*@c_queue.shift) until @c_queue.empty?
          }
        end  # loop
      end  # Thread.new
    end
call-seq:
    setup_coalescing

 Setup the appender to handle coalescing of messages before sending
 them to the growl notifier. This requires the creation of a thread and
 mutex for passing messages from the appender thread to the growl
 notifier thread.