add xsync library

add xsync library