From: Cornelius <email@hidden> Date: Don Nov 22, 2001 01:18:03 Uhr Europe/Zurich To: email@hidden Subject: multithreading textviews hi all, i'm new to this list, and being an ecma addict have taken the liberty of using cocoa with java <ducking behind monitor> i have (have tried) to write a simple portscanner with java using interface builder the multithreading seems to work from the commandline but with NSTextView i get this NSCFString autoreleased with no pool in place - just leaking 2001-11-22 01:12:38.223 CocoaPortScanner2[545] *** _NSAutoreleaseNoPool(): Object 0x3dfbc40 of class NSCFString autoreleased with no pool in place - just leaking 2001-11-22 01:12:38.277 CocoaPortScanner2[545] *** _NSAutoreleaseNoPool(): Object 0x3dfbc60 of class NSCFString autoreleased with no pool in place - just leaking This is my call to the interface from within the thread public synchronized void addToOutput(String value) { output.append(value); // output is a stringbuffer freeView = (NSTextView)displayViews.objectForKey("free"); // i have my views in a dictionary for transport freeView.setString(outputFree.toString()); freeView.displayIfNeeded(); } Basically i don't understand the AutoReleasePool Part Reading assignments welcome Thanks Cornelius