changed the circular nature of dongle grabbing to even/odd based to eliminate chained dependency
This commit is contained in:
parent
6a3b577d79
commit
a29a321d75
4 changed files with 5 additions and 5 deletions
|
|
@ -73,7 +73,7 @@ void print(char *str, t_state *state, int coder_idx)
|
|||
if (!is_over)
|
||||
{
|
||||
pthread_mutex_lock(&state->print_mutex);
|
||||
printf(str, now() - state->start, coder_idx);
|
||||
printf(str, now() - state->start, coder_idx + 1);
|
||||
pthread_mutex_unlock(&state->print_mutex);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue