On Nov 17, 2011, at 2:37 PM, Glenn Maynard <gl...@zewt.org> wrote:
> On Thu, Nov 17, 2011 at 2:16 PM, Rick Waldron <waldron.r...@gmail.com> wrote: > This is counter to the whole premise of Workers, which should be independent > of their renderer process and certainly not block themselves while waiting > for responses from the renderer (which inherently describes an async > behaviour). > > That's backwards. The premise is that the renderer (UI) will not be blocked > by workers, not that workers won't be blocked by the renderer. No, it's not. Messaging should not block either process. > > > Sync apis are sore thumb in GlobalWorkerScope's world. > > I don't know what that means. Synchronous APIs are one of the major reasons > to have Workers in the first place. Considering the current messaging API and the allowed host APIs, I strongly disagree. > > -- > Glenn Maynard >