Re: [heycam/webidl] Idea for [AllowShared] (handling SharedArrayBuffer safely) (#638)

> though implementations could create fast paths here and there as needed

How, exactly?  If the semantics are that this has to happen at argument conversion time, then it needs to happen at argument conversion time, right?

Past that, I'm not quite clear on the problem we are trying to solve.  SAB can create a timer if we can hand it to another execution thread, right?  An API that takes "object" or "any" would have to explicitly check for it being an SAB to do that (because other objects are not safe to hand over), so the safety check seems like it should be at that check point...

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/heycam/webidl/issues/638#issuecomment-460686702

Received on Tuesday, 5 February 2019 15:43:57 UTC