I think I would prefer for 'control mutex' vars to have a name that implies this, so in this case cm or control_m. Same for the cond var.