On Tuesday 07 February 2006 13:33, rorywalsh@ear.ie wrote: > The behaviour is different with _beginthread(). I can get two perofrmances > out before it crashes with _beginthread(). With csoundCreateThread() I > only get only performance before it all goes belly-up. I wonder is it > something to do with csoundReset()? It should not be different with _beginthread() (but you should not join a thread created this way with csoundJoinThread()). Perhaps there is memory corruption (writing past the end of an array, accessing already freed memory, freeing memory twice, etc.) somewhere else ? Also, you mentioned earlier that the thread hangs indefinitely. Where does this occur ? ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ Csound-devel mailing list Csound-devel@lists.sourceforge.net