Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- info.postype = postype;
- info.parkperiod = parkperiod;
- info.mantime = mantime;
- s_memory->current_ship = info;
- sem_post(&(s_memory->sem_port_master));
- //sleep(info.mantime);
- sem_wait(&(s_memory->sem_vessel));
- sem_post(&(s_memory->sem_vessel_info));
- printf("Pass the entrance out\n");
- exit(0);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement