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

Function dmtcp_initialize_entry_point_test

src/dmtcpworker.cpp:209–215  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

207// Note that 1-100 are reserved for implementation, but we are okay since this
208// function is only enabled for debugging.
209extern "C" void __attribute__((constructor(100)))
210dmtcp_initialize_entry_point_test()
211{
212 cpu_set_t cpuset;
213 pthread_t thread = pthread_self();
214 pthread_getaffinity_np(thread, sizeof(cpu_set_t), &cpuset);
215}
216#endif
217
218// Initialize remaining components.

Callers

nothing calls this directly

Calls 1

pthread_getaffinity_npFunction · 0.85

Tested by

no test coverage detected