[sr-dev] git:master:13976820: core: mem - shm api extended to enable setting func field of the chunk