Bug 1628207 Comment 2 Edit History

Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.

The `mozilla::gfx::VRShMem::PullSystemState` and `mozilla::gfx::VRShMem::PushSystemState` methods implement a lock-free, queue-free IPC used for hard-realtime communication of VR hardware sensor inputs.  They include dual generation-id checks for dirty copies, which are then discarded in the case of a data race.

For non-x86 platforms (eg, aarch64 for Android), a mutex is used in place of the lock-free data structure due to the non-guarantee of memory write order and cache coherent operation.

Would it be appropriate to flag this as an exception?

Back to Bug 1628207 Comment 2