Merge "Add synchronization to PIC shared memory" into main