add Mutex in unix