[sane-devel] RE: (Big?) Problem with fork() in OSX
Tue, 17 Dec 2002 18:46:33 +0100
As the Plustek backend is not the only one that forks
a reader process, the question should be how can this be solved
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...
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.