have semtryacquire return an INT, map sem{{try,}acquire,release}