MCPcopy Create free account
hub / github.com/OpenPTrack/open_ptrack_v2 / join

Method join

rtpose_wrapper/src/gtest/gtest.h:9063–9070  ·  view source on GitHub ↗

Join an existing circle. L < g_linked_ptr_mutex

Source from the content-addressed store, hash-verified

9061 // Join an existing circle.
9062 // L < g_linked_ptr_mutex
9063 void join(linked_ptr_internal const* ptr) {
9064 MutexLock lock(&g_linked_ptr_mutex);
9065
9066 linked_ptr_internal const* p = ptr;
9067 while (p->next_ != ptr) p = p->next_;
9068 p->next_ = this;
9069 next_ = ptr;
9070 }
9071
9072 // Leave whatever circle we're part of. Returns true if we were the
9073 // last member of the circle. Once this is done, you can join() another.

Callers 15

convert_annotationFunction · 0.80
detector.pyFile · 0.80
mapMethod · 0.80
save_csv_filesFunction · 0.80
format_paramFunction · 0.80
summarize_netFunction · 0.80
mainFunction · 0.80
mainFunction · 0.80
StopInternalThreadMethod · 0.80
copyMethod · 0.80
parse_readme_frontmatterFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected