[sane-devel] pros and cons regarding --enable-pthread for Linux

Johannes Meixner jsmeix at suse.de
Thu Aug 26 14:52:08 UTC 2010


currently we (i.e. openSUSE/Novell) compile sane-backends
with its default configure setting "--disable-pthread" for Linux.

A consequence is that the mustek_usb2 backend is not built
because it requires "--enable-pthread", see

Therefore I am thinking about to use "--enable-pthread"
but I don't know about possible bad consequences.

Therefore I like to get information about the pros and cons
regarding "--enable-pthread".

In particular what is the reason why "--enable-pthread" is
the default for MacOS X/MINGW but not for everything else,
in particular not for Linux.

I found the older mail thread "fork or pthread for async I/O?"
on sane-devel dated February 2000:
where in particular
seems to show a reason why the default is "--disable-pthread".

But I don't know if this default still makes sense or is it
probably safe at least for Linux to use "--enable-pthread"?

Kind Regards
Johannes Meixner
SUSE LINUX Products GmbH, Maxfeldstrasse 5, 90409 Nuernberg, Germany
AG Nuernberg, HRB 16746, GF: Markus Rex

More information about the sane-devel mailing list