On Dec 10, 2008, at 3:56 AM, Martin Costabel wrote:

> The problem with  
> THE_PROCESS_HAS_FORKED_AND_YOU_CANNOT_USE_THIS_COREFOUNDATION_FUNCTIONALITY___YOU_MUST_EXEC__
>  
> () happened also to asymptote recently when it started using OpenGL/ 
> GLUT(in asymptote-1.50) . After some fruitless experimentation  
> rearranging the fork() stuff, the upstream author settled for  
> dumping fork() altogether and rewrote the code using pthreads. This  
> was not completely trivial and did not work immediately, because  
> Apple's GLUT insists on occupying the main thread, which was not the  
> original structure of the code. But it is working nicely now, both  
> on 10.4 and on 10.5 (asymptote-1.52).
>
> OTOH, I don't think the asymptote author seriously followed the  
> "exec yourself" suggestion which is given here, including sample code:
> <http://developer.apple.com/technotes/tn2005/tn2083.html#SECDAEMONVSFRAMEWORKS
>  
> >
> Apple describe this only for the case of a daemon, but their sample  
> code could work also in a daemon-less situation. Could be worth  
> while trying.
>
> --
> Martin
>

The latter is essentially what is done in kdelibs3.  I'm not prepared  
to try any extensive rewriting of jpilot, but it's worth floating this  
idea upstream when I send a bugfix.


------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
_______________________________________________
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.devel

Reply via email to