Add mutex, need to complete

Signed-off-by: mengsz <mengshzh@inspur.com>