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.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Paths
| Differential D19365
[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
Event Timelinekubamracek updated this object. This revision is now accepted and ready to land.Apr 21 2016, 7:53 AM Closed by commit rL266994: [tsan] Rename ReportThread->pid to ReportThread->os_id (authored by kuba.brecka). · Explain WhyApr 21 2016, 7:55 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 54507 compiler-rt/trunk/lib/tsan/rtl/tsan_debugging.cc
compiler-rt/trunk/lib/tsan/rtl/tsan_interface.h
compiler-rt/trunk/lib/tsan/rtl/tsan_report.h
compiler-rt/trunk/lib/tsan/rtl/tsan_report.cc
compiler-rt/trunk/lib/tsan/rtl/tsan_rtl_report.cc
compiler-rt/trunk/test/tsan/debugging.cc
|