# File lib/vendor/fssm/fssm/backends/rubycocoa/fsevents.rb, line 113
    def create_stream
      @stream = OSX.FSEventStreamCreate(@allocator, @callback, @context, @paths, @since, @latency, @flags)
      raise(StreamError, 'Unable to create FSEvents stream.') unless @stream
      OSX.FSEventStreamScheduleWithRunLoop(@stream, OSX.CFRunLoopGetCurrent, OSX::KCFRunLoopDefaultMode)
    end