Skip to content

Commit

Permalink
Update test1 to add yogrt_init/fini
Browse files Browse the repository at this point in the history
  • Loading branch information
morrone committed Apr 27, 2022
1 parent f27c495 commit c8df208
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion test/test1.c
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,15 @@
main(int argc, char *argv[])
{
int rem;
int i;

while(1) {
yogrt_init();

for (i=0; i<10; i++) {
rem = yogrt_remaining();
sleep(1);
}

yogrt_fini();
exit(0);
}

0 comments on commit c8df208

Please sign in to comment.