Skip to content

Commit

Permalink
(examples) fix: non-termination on send
Browse files Browse the repository at this point in the history
  • Loading branch information
bensimner committed Feb 7, 2025
1 parent fffada5 commit dc4f0b5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions examples/common.c
Original file line number Diff line number Diff line change
Expand Up @@ -248,6 +248,7 @@ void send(tid_t to, int v) {
channel[to].content = v;
channel[to].full = 1;
mtx_unlock(&m);
return;
}
}

Expand Down

0 comments on commit dc4f0b5

Please sign in to comment.