合并互斥锁操作的函数

Signed-off-by: hurley25 <liuhuan1992@gmail.com>