[sane-devel] RE: (Big?) Problem with fork() in OSX
Jaeger, Gerhard
gerhard at gjaeger.de
Tue Dec 17 17:46:33 GMT 2002
As the Plustek backend is not the only one that forks
a reader process, the question should be how can this be solved
for OSX?
Any ideas?
One might be the approach to have two versions one using
the fork and one without (USE_FORK i.e. nec.c)...
But I thought, that fork duplicates the entire process environment...
Gerhard
On Tuesday, 17. December 2002 15:33, Phil Barrett wrote:
> Beat Birkhofer wrote:
> > In plustek.c in the function sane_start() there's a fork(). Just
> > after calling this fork() the connection to the USB is broken
> > (IOService fails).
>
> If it's anything like the SCSI side, which I looked at a long while back,
> this is because the access to the interface is exclusively given to the
> thread that opened it. I had the HP (I think - it might have been another
> one) driver working fine until the point where it fork()ed to receive the
> scan data.
>
> Phil
More information about the sane-devel
mailing list