mozilla

Revision 93491 of Concurrency

  • Revision slug: CommonJS/Concurrency
  • Revision title: Concurrency
  • Revision id: 93491
  • Created:
  • Creator: tlrobinson
  • Is current revision? No
  • Comment 25 words added

Revision Content

One should probably try to follow the WebWorkers API as far as it makes sense on the server.

However, WebWorkers cannot share state, they can only communicate via messages, so if traditional threads are desired they are not acceptable.

Revision Source

<p>One should probably try to follow the <a class="external" href="http://www.whatwg.org/specs/web-workers/current-work/" title="http://www.whatwg.org/specs/web-workers/current-work/">WebWorkers API</a> as far as it makes sense on the server.</p>
<p>However, WebWorkers cannot share state, they can only communicate via messages, so if traditional threads are desired they are not acceptable.</p>
Revert to this revision