Advertisement
Guest User

mika is a fag

a guest
Mar 30th, 2015
234
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.25 KB | None | 0 0
  1. void *Stop_func(void *arg) {
  2.  
  3.         struct variables *var = arg;
  4.  
  5.         printf("\nTo stop continuous run mode, enter 0:");
  6.  
  7.         while(var->stop_protocol==1) {
  8.         scanf("%d",var->stop_protocol);
  9.         }
  10.  
  11.         pthread_exit(NULL);
  12. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement