Atomics support for Safari

48 views
Skip to first unread message

Mehdi Sabwat

unread,
Dec 5, 2019, 11:38:34 AM12/5/19
to emscripten-discuss
Hi,

Does anyone know when and if there will be support for Atomics in Safari?

[Error] ReferenceError: Can't find variable: Atomics

I know it's a stretch but is it possible to prevent a line of Javascript from being optimized?

Preventing :
while(sharedArray[0] == 0);

from being optimized to :
const tmp = sharedArray[0];
while(tmp == 0);
Thanks!
Regards
Reply all
Reply to author
Forward
0 new messages