Hello,
while investigating the shm_mq code and its testing module I made some cosmetic improvements there. You can see them in the attached diff file.