request queue now holds shared_mem pointer and pid is now passed in correctly