W3C home > Mailing lists > Public > whatwg@whatwg.org > February 2014

Re: [whatwg] Proposal: requestBackgroundProcessing()

From: Glenn Maynard <glenn@zewt.org>
Date: Thu, 20 Feb 2014 12:50:44 -0600
Message-ID: <CABirCh-+=JE46E7fqn0aaosURXGcoX77vDVaet3qJwad87RzfA@mail.gmail.com>
To: Rik Cabanier <cabanier@gmail.com>
Cc: "whatwg@whatwg.org" <whatwg@whatwg.org>, Ashley Gullen <ashley@scirra.com>, James Robinson <jamesr@google.com>
On Thu, Feb 20, 2014 at 12:35 PM, Rik Cabanier <cabanier@gmail.com> wrote:

> This sounds like work that should be done in a worker.  Worker timers
>> aren't throttled when in the background, and this is exactly something
>> workers are for.
> Is WebRTC available in a worker?

I don't know, but if not, fixing that is probably closer to the right
direction than letting people run fast timers in minimized UI threads.  If
this is just messaging of game state, he could probably do just relay that
through the UI thread, so the game simulation still takes place in a worker.

Glenn Maynard
Received on Thursday, 20 February 2014 18:51:08 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 17:00:16 UTC