On Monday 06 February 2006 21:56, Rory Walsh wrote: > So I tried the csoundJoinThread() but that doesn't seem to work, in the > header file it says pass the thread routine, in my case csThread, but > when I do this it does not wait until the thread has finished. I have > tried calling csoundJoinThread whilst the thread was performing and it > still didn't wait. Perhaps I am not passing the correct parameter? csoundJoinThread() should wait until the thread finishes, but you need to pass the thread handle which is returned by csoundCreateThread(), rather than the address of the thread function (of course, in the latter case, how would it know which thread to wait for ?). ------------------------------------------------------- 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