add pid_master field for struct mushroom