Update pthread_packet_arrival.c