simple locked queue