NLM: sem to mutex conversion