| 43 | u32 _capacity; |
| 44 | |
| 45 | void addThread(int thread_id) { |
| 46 | if (_count >= _capacity) { |
| 47 | _capacity = _count * 2; |
| 48 | _thread_array = (int*)realloc(_thread_array, _capacity * sizeof(int)); |
| 49 | } |
| 50 | _thread_array[_count++] = thread_id; |
| 51 | } |
| 52 | |
| 53 | void fillThreadArray() { |
| 54 | if (_dir != NULL) { |
nothing calls this directly
no outgoing calls
no test coverage detected