[html5] r5714 - [e] (0) Clarify what stopping a task means.

whatwg at whatwg.org whatwg at whatwg.org
Wed Dec 8 12:51:00 PST 2010


Author: ianh
Date: 2010-12-08 12:50:59 -0800 (Wed, 08 Dec 2010)
New Revision: 5714

Modified:
   complete.html
   index
   source
Log:
[e] (0) Clarify what stopping a task means.

Modified: complete.html
===================================================================
--- complete.html	2010-12-08 00:51:58 UTC (rev 5713)
+++ complete.html	2010-12-08 20:50:59 UTC (rev 5714)
@@ -63298,9 +63298,12 @@
    <code><a href=#document>Document</a></code>s are not <a href=#fully-active>fully active</a>. The user
    agent may pick any <a href=#task-queue>task queue</a>.</li>
 
+   <!-- warning! if you renumber these steps, make sure to update the
+   "spin the event loop" algorith below! -->
+
    <li><p>If the <a href=#storage-mutex>storage mutex</a> is now owned by the
    <a href=#event-loop>event loop</a>, release it so that it is once again
-   free.</p>
+   free.</li>
 
    <li><p>Remove that task from its <a href=#task-queue>task queue</a>.</li>
 
@@ -63329,10 +63332,17 @@
   <ol><li><p>Let <var title="">task source</var> be the <a href=#task-source>task
    source</a> of the currently running <a href=#concept-task title=concept-task>task</a>.</li>
 
-   <li><p>Stop the currently running <a href=#concept-task title=concept-task>task</a>, allowing the <a href=#event-loop>event
-   loop</a> to resume, but continue these steps
-   asynchronously.</li>
+   <li>
 
+    <p>Stop the currently running <a href=#concept-task title=concept-task>task</a>, allowing the <a href=#event-loop>event
+    loop</a> to resume, but continue these steps
+    asynchronously.</p>
+
+    <p class=note>This causes the <a href=#event-loop>event loop</a> to move on
+    to the second step of its processing model (defined above).</p>
+
+   </li>
+
    <li><p>Wait until the condition <var title="">goal</var> is
    met.</li>
 

Modified: index
===================================================================
--- index	2010-12-08 00:51:58 UTC (rev 5713)
+++ index	2010-12-08 20:50:59 UTC (rev 5714)
@@ -63299,9 +63299,12 @@
    <code><a href=#document>Document</a></code>s are not <a href=#fully-active>fully active</a>. The user
    agent may pick any <a href=#task-queue>task queue</a>.</li>
 
+   <!-- warning! if you renumber these steps, make sure to update the
+   "spin the event loop" algorith below! -->
+
    <li><p>If the <a href=#storage-mutex>storage mutex</a> is now owned by the
    <a href=#event-loop>event loop</a>, release it so that it is once again
-   free.</p>
+   free.</li>
 
    <li><p>Remove that task from its <a href=#task-queue>task queue</a>.</li>
 
@@ -63330,10 +63333,17 @@
   <ol><li><p>Let <var title="">task source</var> be the <a href=#task-source>task
    source</a> of the currently running <a href=#concept-task title=concept-task>task</a>.</li>
 
-   <li><p>Stop the currently running <a href=#concept-task title=concept-task>task</a>, allowing the <a href=#event-loop>event
-   loop</a> to resume, but continue these steps
-   asynchronously.</li>
+   <li>
 
+    <p>Stop the currently running <a href=#concept-task title=concept-task>task</a>, allowing the <a href=#event-loop>event
+    loop</a> to resume, but continue these steps
+    asynchronously.</p>
+
+    <p class=note>This causes the <a href=#event-loop>event loop</a> to move on
+    to the second step of its processing model (defined above).</p>
+
+   </li>
+
    <li><p>Wait until the condition <var title="">goal</var> is
    met.</li>
 

Modified: source
===================================================================
--- source	2010-12-08 00:51:58 UTC (rev 5713)
+++ source	2010-12-08 20:50:59 UTC (rev 5714)
@@ -72042,9 +72042,12 @@
    <code>Document</code>s are not <span>fully active</span>. The user
    agent may pick any <span>task queue</span>.</p></li>
 
+   <!-- warning! if you renumber these steps, make sure to update the
+   "spin the event loop" algorith below! -->
+
    <li><p>If the <span>storage mutex</span> is now owned by the
    <span>event loop</span>, release it so that it is once again
-   free.</p>
+   free.</p></li>
 
    <li><p>Remove that task from its <span>task queue</span>.</p></li>
 
@@ -72081,11 +72084,18 @@
    source</span> of the currently running <span
    title="concept-task">task</span>.</p></li>
 
-   <li><p>Stop the currently running <span
-   title="concept-task">task</span>, allowing the <span>event
-   loop</span> to resume, but continue these steps
-   asynchronously.</p></li>
+   <li>
 
+    <p>Stop the currently running <span
+    title="concept-task">task</span>, allowing the <span>event
+    loop</span> to resume, but continue these steps
+    asynchronously.</p>
+
+    <p class="note">This causes the <span>event loop</span> to move on
+    to the second step of its processing model (defined above).</p>
+
+   </li>
+
    <li><p>Wait until the condition <var title="">goal</var> is
    met.</p></li>
 




More information about the Commit-Watchers mailing list