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

2010-09-01 Thread Julien BLACHE
Johannes Meixner jsmeix at suse.de wrote: Hi, sane-backends in Debian has been using pthread since Feb 2009. I assume there have been no issues because of this (otherwise you would have told us). Nope, no issues so far. Now I think about --enable-pthread for the next openSUSE version and

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

2010-09-01 Thread Johannes Meixner
Hello, On Aug 28 08:29 Julien BLACHE wrote (shortened): m. allan noah kitno455 at gmail.com wrote: ... became the default for Linux. Honestly, I think it could be changed, but I don't think pthread is as well tested, since most user's use whatever their distro compiles :) sane-backends in

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

2010-08-28 Thread Julien BLACHE
m. allan noah kitno455 at gmail.com wrote: Hi, became the default for Linux. Honestly, I think it could be changed, but I don't think pthread is as well tested, since most user's use whatever their distro compiles :) sane-backends in Debian has been using pthread since Feb 2009. JB. --

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

2010-08-27 Thread Chris Bagwell
On Fri, Aug 27, 2010 at 5:45 AM, Johannes Meixner jsmeix at suse.de wrote: Hello, On Aug 26 20:41 m. allan noah wrote: Pthread is the default on other platforms because they generally don't let open usb device handles pass across a fork(). Since this works on Linux, and threads were so

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

2010-08-26 Thread Johannes Meixner
Hello, 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 https://bugzilla.novell.com/show_bug.cgi?id=633780 Therefore I

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

2010-08-26 Thread m. allan noah
Pthread is the default on other platforms because they generally don't let open usb device handles pass across a fork(). Since this works on Linux, and threads were so flaky all those years ago, non-threaded became the default for Linux. Honestly, I think it could be changed, but I don't think