Race detector