> I noticed that when compiling FLTK 1.1.10 in Solaris and Mac 
> OS X 10.5, the ./configure file issues THREADS=NO.

Yes - this is a historical "feature" of the older fltk-1.1.x series,
where the default was to assume the target did NOT support pthreads and
font anti-aliasing and so on.

I would *always* recommend that you do "./configure --enable-threads"
with any fltk-1.1.x build on any recent host.

Also, on the Solaris host, consider adding --enable-xft as well, to get
better font support and text anti-aliasing.

Note that for the fltk-1.3 series, the default is now to enable threads
(and XFT where appropriate) on any platform that supports them.

You could consider trying fltk-1.3 actually, it may have some features
you find useful (utf8 text support for example, that sort of thing.)


> I am curious whether this will have an impact on 
> reimplementing the editor.

Well, that would depend - if you want to put any fltk elements directly
in, or access them directly from, the subsidiary thread, then you need
to build the fltk lib with thread support enabled.

However, if the two thread communicate via some form of IPC that does
not directly touch any fltk widgets (i.e. all the fltk interactions are
contained fully within the main thread) then it actually does not matter
so much, and the "stock" build without thread support will actually work
OK.



SELEX Galileo Ltd
Registered Office: Sigma House, Christopher Martin Road, Basildon, Essex SS14 
3EL
A company registered in England & Wales.  Company no. 02426132
********************************************************************
This email and any attachments are confidential to the intended
recipient and may also be privileged. If you are not the intended
recipient please delete it from your system and notify the sender.
You should not copy it or use it for any purpose nor disclose or
distribute its contents to any other person.
********************************************************************

_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to