Update shm_core.h