Skip to content

Commit

Permalink
Minor clarity enchancement.
Browse files Browse the repository at this point in the history
  • Loading branch information
bawr committed Apr 29, 2017
1 parent 5001a6d commit a53d732
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/vmprof_main.h
Original file line number Diff line number Diff line change
Expand Up @@ -193,11 +193,11 @@ static int broadcast_signal_for_threads(void)
pthread_t tid;
while (i < thread_count) {
tid = threads[i];
if (pthread_equal(tid, self))
if (pthread_equal(tid, self)) {
done = 0;
else
if (pthread_kill(tid, SIGALRM))
} else if (pthread_kill(tid, SIGALRM)) {
remove_thread(tid, i);
}
i++;
}
return done;
Expand Down

0 comments on commit a53d732

Please sign in to comment.