This is an archive of the discontinued LLVM Phabricator instance.

[tsan] Rename ReportThread->pid to ReportThread->os_id
ClosedPublic

Authored by kubamracek on Apr 21 2016, 7:47 AM.

Details

Summary

The field "pid" in ReportThread is used to store the OS-provided thread ID (pthread_self or gettid). The name "pid" suggests it's a process ID, which it isn't. Let's rename it.

Diff Detail

Repository
rL LLVM

Event Timeline

kubamracek updated this revision to Diff 54505.Apr 21 2016, 7:47 AM
kubamracek retitled this revision from to [tsan] Rename ReportThread->pid to ReportThread->os_id.
kubamracek updated this object.
kubamracek added reviewers: dvyukov, kcc, glider, samsonov.
dvyukov accepted this revision.Apr 21 2016, 7:53 AM
dvyukov edited edge metadata.
This revision is now accepted and ready to land.Apr 21 2016, 7:53 AM
This revision was automatically updated to reflect the committed changes.