add synchronized

Signed-off-by: badqiu <badqiu@gmail.com>