MCPcopy Create free account
hub / github.com/Haivision/srt / dummythread

Function dummythread

test/test_sync.cpp:588–593  ·  view source on GitHub ↗

/ * CThread */ /

Source from the content-addressed store, hash-verified

586 */
587 /*****************************************************************************/
588void* dummythread(void* param)
589{
590 auto& thread_finished = *(srt::sync::atomic<bool>*)param;
591 thread_finished = true;
592 return nullptr;
593}
594
595TEST(SyncThread, Joinable)
596{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected