W3C home > Mailing lists > Public > public-script-coord@w3.org > April to June 2013

Re: Web Alarm API - idiomatic check

From: Jonas Sicking <jonas@sicking.cc>
Date: Wed, 8 May 2013 15:42:28 -0700
Message-ID: <CA+c2ei-7ahmcAWJ+izGfVj6D9nbM6AZ9D-NsxQH54AwgL18FuA@mail.gmail.com>
To: Allen Wirfs-Brock <allen@wirfs-brock.com>
Cc: Marcos Caceres <w3c@marcosc.com>, public-script-coord <public-script-coord@w3.org>, Domenic Denicola <domenic@domenicdenicola.com>
On Wed, May 8, 2013 at 11:46 AM, Allen Wirfs-Brock
<allen@wirfs-brock.com> wrote:
> It isn't clear to me why the AlarmManger methods need to be asynchronous.

Because the alarms need to be persisted across system restarts which
means that they need to be saved to disk. Any disk access from the
main thread always needs to be async.

/ Jonas
Received on Wednesday, 8 May 2013 22:43:26 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:37:49 UTC