daily pastebin goal
68%
SHARE
TWEET

Untitled

a guest Dec 16th, 2018 59 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. info.postype = postype;
  2.     info.parkperiod = parkperiod;
  3.     info.mantime = mantime;
  4.  
  5.     s_memory->current_ship = info;
  6.  
  7.     sem_post(&(s_memory->sem_port_master));
  8.     //sleep(info.mantime);
  9.     sem_wait(&(s_memory->sem_vessel));
  10.     sem_post(&(s_memory->sem_vessel_info));
  11.  
  12.     printf("Pass the entrance out\n");
  13.  
  14.     exit(0);
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top