On Tuesday 29 November 2005 15:27, Victor Lazzarini wrote: > I identified the problem and it is in winFLTK.c. For some reason, > setting the csoundYield callback in line 78 before check if it is > graphable etc causes the problem. If I remove that function call > and the ifdefs NO_FLTK_THREADS etc, it solves the problem. > > The question is, does it have any other undesirable effect? Yes, as the widget opcodes need Fl::wait() to be called somewhere, and if you remove the setting of a yield callback, the opcodes will probably not work unless graphs are also used at the same time. Also, this issue seems to be Mac-specific, and I do not really understand why setting the yield callback interferes with the creation of other threads that do not even use FLTK. ------------------------------------------------------- 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://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click _______________________________________________ Csound-devel mailing list Csound-devel@lists.sourceforge.net