kopia lustrzana https://gitlab.com/sane-project/website
70 wiersze
3.2 KiB
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> >Date: Tue, 21 Jul 1998 18:03:28 +0200</i><br>
|
|
<i> >From: Oliver Rauch <<a href="mailto:oliver.rauch@Wolfsburg.DE">oliver.rauch@Wolfsburg.DE</a>></i><br>
|
|
<p>
|
|
<i> >Matto Marjanovic wrote:</i><br>
|
|
<i> ></i><br>
|
|
<i> >> The not-yet-released (soon!) v0.9 of the microtek backend does work</i><br>
|
|
<i> >> correctly if "CANCEL PREVIEW" is pressed; I just tried it out.</i><br>
|
|
<i> >> (Previous versions have a generally broken sane_cancel implementation.)</i><br>
|
|
<i> ></i><br>
|
|
<i> >Hi Matt,</i><br>
|
|
<i> ></i><br>
|
|
<i> >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>
|