Changed locking mechanism from semget/semops to pthread_mutex structure.
There were some problems with semget/semops, mainly they are a limitted and shared system resource that could be exhausted and prevent slurmctld from running. The functions and underlying locking scheme was preserved.
Please register or sign in to comment