MCPcopy Create free account
hub / github.com/LouisBrunner/valgrind-macos / thread_func

Function thread_func

drd/tests/annotate_static.cpp:22–34  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

20static inline void AnnotateIgnoreReadsEnd() { ANNOTATE_IGNORE_READS_END(); }
21
22static void* thread_func(void*)
23{
24#if defined(__powerpc__) && __GNUC__ -0 == 4 && __GNUC_MINOR__ -0 == 3 \
25 && __GNUC_PATCHLEVEL__ -0 == 0
26 AnnotateIgnoreReadsBegin();
27 int i = s_j;
28 AnnotateIgnoreReadsEnd();
29 s_i = i;
30#else
31 s_i = ANNOTATE_UNPROTECTED_READ(s_j);
32#endif
33 return 0;
34}
35
36int main(int argc, char** argv)
37{

Callers

nothing calls this directly

Calls 3

AnnotateIgnoreReadsBeginFunction · 0.85
AnnotateIgnoreReadsEndFunction · 0.85

Tested by

no test coverage detected