added mutex-based simplequeue