MCPcopy Create free account
hub / github.com/ceph/ceph / thread1

Function thread1

src/test/erasure-code/TestErasureCodeShec.cc:2673–2694  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2671}
2672
2673void* thread1(void* pParam)
2674{
2675 ErasureCodeShec* shec = (ErasureCodeShec*) pParam;
2676 set<int> want_to_decode;
2677 set<int> available_chunks;
2678 set<int> minimum_chunks;
2679
2680 want_to_decode.insert(0);
2681 want_to_decode.insert(1);
2682 available_chunks.insert(0);
2683 available_chunks.insert(1);
2684 available_chunks.insert(2);
2685
2686 printf("*** thread loop start ***\n");
2687 g_flag = 1;
2688 while (g_flag == 1) {
2689 shec->_minimum_to_decode(want_to_decode, available_chunks, &minimum_chunks);
2690 }
2691 printf("*** thread loop end ***\n");
2692
2693 return NULL;
2694}
2695
2696void* thread2(void* pParam)
2697{

Callers

nothing calls this directly

Calls 2

insertMethod · 0.45
_minimum_to_decodeMethod · 0.45

Tested by

no test coverage detected