[sane-standard] SANE2: Threading

m. allan noah anoah at pfeiffer.edu
Thu Dec 28 14:41:00 CET 2006

On Thu, 21 Dec 2006, Olaf Meeuwissen wrote:

> "m. allan noah" <anoah at pfeiffer.edu> writes:
>> [snip]
>> if we determine to keep the threading/forking support, what about the
>> possibility to 'move' this code up one layer, perhaps into the dll
>> backend? then we only have to write it once, as opposed to in each
>> backend. perhaps a layer between the dll and regular backends?
> Won't that introduce problems when applications link with a backend
> (other than the dll backend) directly?  The SANE standard specifically
> allows this and even touts it as a "feature".

when i look at the various sane backend .so files, they have modified 
versions of the function names in the sane api. so any such direct linking 
would require a different compilation of the backend?

if so, perhaps this intermediate loader could be linked as well...


"so don't tell us it can't be done, putting down what you don't know.
money isn't our god, integrity will free our souls" - Max Cavalera

More information about the sane-standard mailing list