sane-project-website/old-archive/1998-07/0133.html

67 wiersze
3.0 KiB
HTML

<!-- received="Wed Jul 22 10:35:29 1998 PDT" -->
<!-- sent="Wed, 22 Jul 1998 09:16:42 +0100" -->
<!-- name="Yuri Dario" -->
<!-- email="mc6530@mclink.it" -->
<!-- subject="Re: shmem in backends?" -->
<!-- id="199807221734.TAA10546@ammi.mclink.it" -->
<!-- inreplyto="shmem in backends?" -->
<title>sane-devel: Re: shmem in backends?</title>
<h1>Re: shmem in backends?</h1>
<b>Yuri Dario</b> (<a href="mailto:mc6530@mclink.it"><i>mc6530@mclink.it</i></a>)<br>
<i>Wed, 22 Jul 1998 09:16:42 +0100</i>
<p>
<ul>
<li> <b>Messages sorted by:</b> <a href="date.html#133">[ date ]</a><a href="index.html#133">[ thread ]</a><a href="subject.html#133">[ subject ]</a><a href="author.html#133">[ author ]</a>
<!-- next="start" -->
<li> <b>Next message:</b> <a href="0134.html">Wolfgang Kaess: "Parallel port OS/2 support"</a>
<li> <b>Previous message:</b> <a href="0132.html">Jon Knight: "Re: developing plustek driver-- questions"</a>
<!-- nextthread="start" -->
<li> <b>Next in thread:</b> <a href="0137.html">David Mosberger-Tang: "Re: shmem in backends?"</a>
<li> <b>Reply:</b> <a href="0137.html">David Mosberger-Tang: "Re: shmem in backends?"</a>
<!-- reply="end" -->
</ul>
<!-- body="start" -->
On Tue, 21 Jul 1998 21:28:09 -0700, David Mosberger-Tang wrote:<br>
<p>
<i>&gt; That way, platforms supporing pthreads</i><br>
<i>&gt;and OS/2 could use threads whereas the older platforms would continue</i><br>
<i>&gt;to use fork(). Yuri, is this what your working on?</i><br>
<p>
yes, because there are a couple of problems with fork() under OS/2: 1) not as efficient as under Unix <br>
(better to avoid it), 2) forked process doesn't inherit all parent handles; to be correct, it doesn't inherit at <br>
least system semaphores, and semaphores are needed to syncronize access to the current SCSI <br>
low-level functions. Without this semaphores, I experienced system crash with the Umax backend, and I <br>
know that something similar happens also on other systems.<br>
<p>
Until now I have corrected the Umax and Mustek backends, and I will submit patches to SANE 0.73 ASAP <br>
(now I'm too busy with my job). I have also minor patches to code for parallel port, for the epson backend <br>
and to the microtek2.<br>
<p>
<p>
Bye,<br>
<p>
Yuri Dario<br>
<p>
/*<br>
* member of TeamOS/2 - Italy<br>
*/<br>
<p>
<p>
<p>
<pre>
--
Source code, list archive, and docs: <a href="http://www.mostang.com/sane/">http://www.mostang.com/sane/</a>
To unsubscribe: echo unsubscribe sane-devel | mail <a href="mailto:majordomo@mostang.com">majordomo@mostang.com</a>
</pre>
<!-- body="end" -->
<p>
<ul>
<!-- next="start" -->
<li> <b>Next message:</b> <a href="0134.html">Wolfgang Kaess: "Parallel port OS/2 support"</a>
<li> <b>Previous message:</b> <a href="0132.html">Jon Knight: "Re: developing plustek driver-- questions"</a>
<!-- nextthread="start" -->
<li> <b>Next in thread:</b> <a href="0137.html">David Mosberger-Tang: "Re: shmem in backends?"</a>
<li> <b>Reply:</b> <a href="0137.html">David Mosberger-Tang: "Re: shmem in backends?"</a>
<!-- reply="end" -->
</ul>