trylock was returning 1 previously when it was able to set the lock, for shmem it should be 0