- From: Ian Hickson via cvs-syncmail <cvsmail@w3.org>
- Date: Wed, 27 Aug 2008 09:55:20 +0000
- To: public-html-commits@w3.org
Update of /sources/public/html5/workers In directory hutz:/tmp/cvs-serv18950 Modified Files: Overview.html Log Message: Make it blazingly clear where the thread begins. (credit: jj) (whatwg r59) Index: Overview.html =================================================================== RCS file: /sources/public/html5/workers/Overview.html,v retrieving revision 1.51 retrieving revision 1.52 diff -u -d -r1.51 -r1.52 --- Overview.html 27 Aug 2008 09:49:09 -0000 1.51 +++ Overview.html 27 Aug 2008 09:55:18 -0000 1.52 @@ -1536,11 +1536,15 @@ with <span>URL</span> <var title="">url</var>, a browsing context <var title="">owner browsing context</var>, a <code>Document</code> <var title="">owner document</var>, and with global scope <var title="">worker - global scope</var>, it must run the following steps in a completely - separate and parallel execution environment: + global scope</var>, it must run the following steps: <ol> <li> + <p>Create a completely separate and parallel execution environment (i.e. + a separate thread or process or equivalent construct), and run the rest + of these steps asychronously in that context.</p> + + <li> <p>Attempt to <span>fetch</span><!-- XXX --> the resource identified by <var title="">url</var>.</p> @@ -1880,13 +1884,12 @@ queue</span>. <li> - <p>In a parallel execution context (i.e. a separate thread or process or - equivalent construct), <a href="#run-a">run a worker</a>, with the - <span>script browsing context</span> of the script that invoked the - method as the <var title="">owner browsing context</var>, with the - <span>script document context</span> of the script that invoked the - method as the <var title="">owner document</var>, and with <var - title="">worker global scope</var> as the global scope.</p> + <p><a href="#run-a">Run a worker</a>, with the <span>script browsing + context</span> of the script that invoked the method as the <var + title="">owner browsing context</var>, with the <span>script document + context</span> of the script that invoked the method as the <var + title="">owner document</var>, and with <var title="">worker global + scope</var> as the global scope.</p> </ol> <h4 id=shared1><span class=secno>2.6.3 </span>Shared workers and the @@ -2044,13 +2047,12 @@ the <var title="">worker global scope</var> itself. <li> - <p>In a parallel execution context (i.e. a separate thread or process or - equivalent construct), <a href="#run-a">run a worker</a>, with the - <span>script browsing context</span> of the script that invoked the - method as the <var title="">owner browsing context</var>, with the - <span>script document context</span> of the script that invoked the - method as the <var title="">owner document</var>, and with <var - title="">worker global scope</var> as the global scope.</p> + <p><a href="#run-a">Run a worker</a>, with the <span>script browsing + context</span> of the script that invoked the method as the <var + title="">owner browsing context</var>, with the <span>script document + context</span> of the script that invoked the method as the <var + title="">owner document</var>, and with <var title="">worker global + scope</var> as the global scope.</p> </ol> <h2 id=apis-available><span class=secno>3. </span>APIs available to workers</h2> @@ -2248,8 +2250,8 @@ <h2 class=no-num id=acknowledgements>Acknowledgements</h2> <!-- ACKS --> - <p>Thanks to Aaron Boodman, Jonas Sicking, Maciej Stachowiak, Mike Smith, - and Philip Taylor for their useful and substantial comments. + <p>Thanks to Aaron Boodman, Jonas Sicking, Justin James, Maciej Stachowiak, + Mike Smith, and Philip Taylor for their useful and substantial comments. <p>Huge thanks to the whole Gears team, who pioneered this technology and whose experience has been a huge influence on this specification.
Received on Wednesday, 27 August 2008 09:55:53 UTC