Skip to content

Commit

Permalink
[e] (0) Clarify what stopping a task means.
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.whatwg.org/webapps@5714 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Dec 8, 2010
1 parent 854c5b6 commit 2851b09
Show file tree
Hide file tree
Showing 3 changed files with 43 additions and 13 deletions.
18 changes: 14 additions & 4 deletions complete.html
Original file line number Diff line number Diff line change
Expand Up @@ -63298,9 +63298,12 @@ <h5 id=processing-model-2><span class=secno>7.1.4.2 </span>Processing model</h5>
<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>

Expand Down Expand Up @@ -63329,9 +63332,16 @@ <h5 id=processing-model-2><span class=secno>7.1.4.2 </span>Processing model</h5>
<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>
Expand Down
18 changes: 14 additions & 4 deletions index
Original file line number Diff line number Diff line change
Expand Up @@ -63299,9 +63299,12 @@ NETWORK:
<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>

Expand Down Expand Up @@ -63330,9 +63333,16 @@ NETWORK:
<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>
Expand Down
20 changes: 15 additions & 5 deletions source
Original file line number Diff line number Diff line change
Expand Up @@ -72042,9 +72042,12 @@ NETWORK:
<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>

Expand Down Expand Up @@ -72081,10 +72084,17 @@ NETWORK:
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>
Expand Down

0 comments on commit 2851b09

Please sign in to comment.