March 2019
Intermediate to advanced
336 pages
9h 9m
English
The EndPass method stops the passenger queue moving toward the ticket counter. The EndPass method on Queue sends messagePassEnd to the message queue in the following code. The passenger is moved to the counter for ticket processing, and the passenger is then out of the queue:
//EndPass ends the Pass Queuefunc (Queue *Queue) EndPass() { Queue.message <- messagePassEnd}
Read now
Unlock full access