Csound Csound-dev Csound-tekno Search About

Re: [Cs-dev] FLTK and Csound 5

Date2005-02-13 00:09
From"Michael Gogins"
SubjectRe: [Cs-dev] FLTK and Csound 5
Thanks for pursuing this.

----- Original Message ----- 
From: "John D. Ramsdell" 
To: 
Sent: Saturday, February 12, 2005 4:01 PM
Subject: [Cs-dev] FLTK and Csound 5


> Here is what I learned about FLTK for Csound 4 that may be relevant to
> future Csound 5 development.
> 
> 1. Mac OS X requires attention to the multithreading rules of FLTK.
> 
> 2. Linux, and probably NetBSD run code that respects the rules, but
>   also allows implementors to cheat.  
> 
> 3. MinGW/MSYS on Windows does not correctly run code that respects
>   the rules, but allows implementors to cheat.
> 
> I submitted a bug report to the FLTK developers.  I included a
> description of the way in which FLTK is used in Csound--as both a GUI
> driving the Csound engine in another thread, and as opcodes executed
> by the engine.  I also submitted a tiny multithreaded program that
> displays the problem on Windows.  The next entry in the bug reports
> says they plan to delay addressing the bug until version 2.0 FLTK!  We
> must have found something not easily fixed.  The good news, is I have
> a hack that gets around the problem on Windows.  Lines near 1725 in
> csound/widgets.cpp show the trick.
> 
> John
> 
> 
> -------------------------------------------------------
> SF email is sponsored by - The IT Product Guide
> Read honest & candid reviews on hundreds of IT Products from real users.
> Discover which products truly live up to the hype. Start reading now.
> http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
>



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2005-02-13 18:14
Fromramsdell@mitre.org (John D. Ramsdell)
SubjectRe: [Cs-dev] FLTK and Csound 5
"Michael Gogins"  writes:

> Thanks for pursuing this.

Your welcome.  Too bad the answer to the thread safety question is
punt until FLTK 2.0 is released.  :-(

John


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net