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

70 wiersze
3.2 KiB
HTML

<!-- received="Fri Jul 24 10:32:12 1998 PDT" -->
<!-- sent="Fri, 24 Jul 1998 13:28:23 -0400 (EDT)" -->
<!-- name="Matto Marjanovic" -->
<!-- email="maddog@mir.com" -->
<!-- subject="Re: Does CANCEL_PREVIEW work?" -->
<!-- id="m0yzldn-000J3sC@yoo-hoo.ai.mit.edu" -->
<!-- inreplyto="Does CANCEL_PREVIEW work?" -->
<title>sane-devel: Re: Does CANCEL_PREVIEW work?</title>
<h1>Re: Does CANCEL_PREVIEW work?</h1>
<b>Matto Marjanovic</b> (<a href="mailto:maddog@mir.com"><i>maddog@mir.com</i></a>)<br>
<i>Fri, 24 Jul 1998 13:28:23 -0400 (EDT)</i>
<p>
<ul>
<li> <b>Messages sorted by:</b> <a href="date.html#150">[ date ]</a><a href="index.html#150">[ thread ]</a><a href="subject.html#150">[ subject ]</a><a href="author.html#150">[ author ]</a>
<!-- next="start" -->
<li> <b>Next message:</b> <a href="0151.html">Oliver Rauch: "Re: problems with sgi/umax"</a>
<li> <b>Previous message:</b> <a href="0149.html">Chinedum Osuji: "Re: problems with sgi/umax"</a>
<li> <b>Maybe in reply to:</b> <a href="0103.html">Oliver Rauch: "Does CANCEL_PREVIEW work?"</a>
<!-- nextthread="start" -->
<li> <b>Next in thread:</b> <a href="0152.html">Oliver Rauch: "Re: Does CANCEL_PREVIEW work?"</a>
<!-- reply="end" -->
</ul>
<!-- body="start" -->
<i> &gt;Date: Tue, 21 Jul 1998 18:03:28 +0200</i><br>
<i> &gt;From: Oliver Rauch &lt;<a href="mailto:oliver.rauch@Wolfsburg.DE">oliver.rauch@Wolfsburg.DE</a>&gt;</i><br>
<p>
<i> &gt;Matto Marjanovic wrote:</i><br>
<i> &gt;</i><br>
<i> &gt;&gt; The not-yet-released (soon!) v0.9 of the microtek backend does work</i><br>
<i> &gt;&gt; correctly if "CANCEL PREVIEW" is pressed; I just tried it out.</i><br>
<i> &gt;&gt; (Previous versions have a generally broken sane_cancel implementation.)</i><br>
<i> &gt;</i><br>
<i> &gt;Hi Matt,</i><br>
<i> &gt;</i><br>
<i> &gt;what did you do that it works?</i><br>
<p>
I don't know --- it just worked when I tried it.<br>
<p>
I haven't looked at how xscanimage handles the preview-cancel button,<br>
so I don't have any idea what snags could happen.<br>
<p>
What little I do know:<br>
o the new implementation of sane_cancel for the microtek backend <br>
sticks to the API -- so that it is safe to call it even while<br>
in the middle of sane_start or sane_read (i.e. in case it's<br>
called by a signal handler). The current or following sane_read<br>
will return a cancelled status.<br>
o the microtek backend doesn't do any forking (and has not non-blocking<br>
i/o), so there is less room for locking/signalling/sync problems.<br>
<p>
-matt m.<br>
<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="0151.html">Oliver Rauch: "Re: problems with sgi/umax"</a>
<li> <b>Previous message:</b> <a href="0149.html">Chinedum Osuji: "Re: problems with sgi/umax"</a>
<li> <b>Maybe in reply to:</b> <a href="0103.html">Oliver Rauch: "Does CANCEL_PREVIEW work?"</a>
<!-- nextthread="start" -->
<li> <b>Next in thread:</b> <a href="0152.html">Oliver Rauch: "Re: Does CANCEL_PREVIEW work?"</a>
<!-- reply="end" -->
</ul>