additions to the go sync package