[AD] Tiny documentation update (faq section - rest(0) vs yield_timeslice() )

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


In the section: ' Why doesn't busy waiting on the key array work?' the
example should be updated to reflect the new rest(0) behavior (in the
place of yield_timeslice()). Thus, the following patch:

--- docs/src/faq._tx	Mon Nov  8 22:47:18 2004 UTC
+++ docs/src/faq._tx	Sun Apr 10 21:43:38 2005 UTC
@@ -796,7 +796,7 @@
       for example:
 <codeblock>
       while (!key[KEY_ENTER])
-         yield_timeslice();<endblock>
+         rest(0);<endblock>
 
       For this case, however, it would be better to use
<code>readkey()</code> instead.
       Or consider upgrading or downgrading your compiler.
@@ -825,4 +825,3 @@
 
       See <link>http://alleg.sourceforge.net/maillist.html</a>.
 </div>
-




Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/