Patch queue for bug 1054841 (shared memory, atomics, locks)