title: Is adding a source to main run loop will affect main application operations?
body: <p>I am using <code>CFMessagePort</code> for interprocess communication in AppKit-based application and adding <code>CFMessagePort</code> source to the current run loop.  </p>
  
  <pre><code>CFMessagePortRef local = CFMessagePortCreateLocal( kCFAllocatorDefault, daemonHostName,didReceiveDataFromOtherProcess, NULL,false);
  if (local) {
      CFRunLoopSourceRef source = CFMessagePortCreateRunLoopSource(NULL, local, 0);
      CFRunLoopRef rl = [[NSRunLoop mainRunLoop] getCFRunLoop];
      CFRunLoopAddSource(rl, source, kCFRunLoopDefaultMode);
  }  
  </code></pre>
  
  <ol>
  <li>Is this is right approach?  </li>
  <li>Should i run runloop using <code>CFRunLoopRun()</code>?</li>
  <li><strong>Is this will affect my main application operations(if client will
  send message in every 1second)?</strong></li>
  </ol>