Skip to content

Commit

Permalink
Merge pull request #203 from insertinterestingnamehere/tleak_fix
Browse files Browse the repository at this point in the history
Fix Thread Leak In `external_syncva` Test
  • Loading branch information
insertinterestingnamehere authored Dec 6, 2023
2 parents d6ce514 + 39020d5 commit 619afe9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/basics/external_syncvar.c
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ int main(void)
qthread_syncvar_readFE(&readout, &x);
iprintf("found readout = %lu\n", (unsigned long)readout);

return 0;
return pthread_join(thread, NULL);
}

/* vim:set expandtab: */

0 comments on commit 619afe9

Please sign in to comment.