Skip to content

Commit

Permalink
starts the loop from function a
Browse files Browse the repository at this point in the history
  • Loading branch information
pawanpraka1 committed Nov 8, 2014
1 parent f1c164a commit defaaa3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ctx_switch.c
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ void funa(void)
void funb(void)
{
int i = 0;
my_yeild(&actx);
while (i++ < 20) {
printf("b %d\n", i);
sleep(1);
Expand Down

0 comments on commit defaaa3

Please sign in to comment.