On Tuesday 29 November 2005 16:10, Victor Lazzarini wrote: > What seems to be happening is that the yield callback > does not seem to be ever returning, making the > process stuck. > > If the setting of the call back is done in line 87, it will not > happen if -d is used. Then it's fine with -d, but of course > with FLTK graphs it does not work anyway. > > What I asked is whether we can retain the call on line 87 > for all cases, no threads or else. Take it off line 78 altogether. > Can we do it? Again, the widget opcodes require the callback regardless of whether graph displays are enabled or not, so making changes that affect non-Mac platforms might not be a good idea. However, the main question is why the yield callback gets stuck ? Is it caused by the calls to Fl::lock() and Fl::unlock() ? If so, then those particular functions can be #ifdef'd out for OS X, especially given that locking is not needed if there is only one thread that uses 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