adding mutex to semantic changes in traced_resource