Skip to content

Commit

Permalink
fixed main. #5
Browse files Browse the repository at this point in the history
  • Loading branch information
brianfoshee committed Jul 27, 2014
1 parent 8147b68 commit e0e12b4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ int main(int argc, char **argv)

pthread_t thread[2];

pthread_create(&thread[1], NULL, collectData, (void *)1);
pthread_create(&thread[2], NULL, sendLoop, (void *)1);
pthread_create(&thread[0], NULL, collectData, (void *)1);
pthread_create(&thread[1], NULL, sendLoop, (void *)1);

pthread_join(thread[0], NULL);
pthread_join(thread[1], NULL);
Expand Down

0 comments on commit e0e12b4

Please sign in to comment.