Modified Synchronizable getter and setter to use a common getset_wait
function which hopefully forces the threads to wait at the same place,
instead of different places.