title: What does “Autoreleased with no pool in place” mean?
body: <p>My Application structure is as follows, 
  the core part is written in C++ and using thread heavily, and i am developing UI in Objective C on top of it, 
  if i don't execute the thread it works fine, but i can't disable, stop thread, UI is crashing randomly in the log i could see , following message </p>
  
  <pre><code>__NSAutoreleaseNoPool(): Object 0x350270 of class NSCFString autoreleased with no pool in place - just leaking
  </code></pre>
  
  <p>Similar messages coming more then once, 
  by googling come to know, i need to set NSAutoReleasePool to get rid of it, but how its possible to integrate the same with C++ code. </p>
  
  <p><strong>Edit:</strong> Core lib will be activated from UI , hence i suppose, its safe to say UI is running in the main thread, Lib is creating/terminating thread without notifying UI, 
  in this case, can i call AutoReleasePool in the UI </p>
  
  <p>Can anyone guide me?</p>