replaced sem_ based mutex to flock so that it won't block
replaced sem_ based mutex to flock so that it won't block


opensciencegrid/myosg,opensciencegrid/myosg,opensciencegrid/myosg,opensciencegrid/myosg,opensciencegrid/myosg