Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- void *Stop_func(void *arg) {
- struct variables *var = arg;
- printf("\nTo stop continuous run mode, enter 0:");
- while(var->stop_protocol==1) {
- scanf("%d",var->stop_protocol);
- }
- pthread_exit(NULL);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement