MCPcopy Create free account
hub / github.com/dmtcp/dmtcp / glibcMajorVersion

Function glibcMajorVersion

src/tls.cpp:52–60  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

50const char *tlsErrorMsg = "*** DMTCP: Error restoring TLS information\n.";
51
52static int glibcMajorVersion()
53{
54 static int major = 0;
55 if (major == 0) {
56 major = (int) strtol(gnu_get_libc_version(), NULL, 10);
57 JASSERT(major == 2);
58 }
59 return major;
60}
61
62static int glibcMinorVersion()
63{

Callers 3

TLSInfo_GetTidOffsetFunction · 0.70
TLSInfo_VerifyPidTidFunction · 0.70
TLSInfo_RestoreTLSTidPidFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected